Test

Formatting Test


Don't forget to Ctrl + F5 to make sure you have the latest CSS files!

#Heading 1

#Heading 2

#Heading 3


#Heading 1

Text

#Heading 2

Text

#Heading 3

Text

#Heading with link and italic text

Text

Bold
Italic
Strikethrough
Underline
Code
Highlight
Error Highlight
Everything
Formatting Test - Language key
Test Link
Page Link Test
Page Link /fake-page
Page Link - See this page

Test Image

Inline code and code II and code *III*
Bold Code
**Bold Code**
Bold Regular Bold
Bold **Escaped
{missing-key-test}

L Image

R Image

L Image

Text

R Image

Red text, Orange text, Yellow text, Green text, Blue text, Purple text, Magenta text
Red and bold
Inline image test
Block RegistryAdding new blocks to gameBlockBuilderUsed in Block Registry/fake-pagePage not found!
Emoji test:
❌ ✅ 👍 👎 ☝️
Script types:
startup_scripts/, server_scripts/, client_scripts/

let code = 'JavaScript code test';
console.log('Hello, World!')
ServerEvents.recipes(event => {
  let potting = (output, pottedInput) => {
    event.shaped(output, [
      'BIB',
      ' B '
    ], {
      B: 'minecraft:brick',
      I: pottedInput
    })
  }

  //Now we can make many 'potting' recipes without typing that huge block over and over!
  potting('kubejs:potted_snowball', 'minecraft:snowball')
  potting('kubejs:potted_lava', 'minecraft:lava_bucket')
  potting('minecraft:blast_furnace', 'minecraft:furnace')
})

Quote callout

This is where I would write something profound, but uh.. Nope. Nothing comes to mind.

Info callout
Warning callout
Danger callout
Success callout

  • Item 1
  • Item 2
  • Item 3
    • Sub-Item 1
    • Sub-Item 2
    • Sub-Item 3
  1. Item 1
  2. Item 2
  3. Item 3
    1. Sub-Item 1
    2. Sub-Item 2
    3. Sub-Item 3
  1. Item 1
  2. Item 2
  3. Item 3
    • Sub-Item 1
    • Sub-Item 2
    • Sub-Item 3
  4. Item 4
    • Sub-Item 1
    • Sub-Item 2
      • Sub-Item 1
      • Sub-Item 2
  • Single item
  1. Single item
  • ### Heading item 1
  • ### Heading item 2
  • ### Heading item 3
  • List with tabs
    • Item 1
    • Item 2
      • Item 1
      • Item 2
  • List with weird spaces
    • Item 1
    • Item 2
      • Item 1
      • Item 2

  • Item in callout 1
  • Item in callout 2

Dropdown List
Item 1
Item 2
  • Some list item
  • Another list item
Dropdown List (Open by default)
Item 1
Item 2
  • Some list item
  • Another list item
Nested dropdown list
Don't watch this video!

☃️

It's water.


#Recipe Example

ServerEvents.recipes(event => {
  event.shaped(
    Item.of('minecraft:stone', 3), // arg 1: output
    [
      'A B',
      ' C ', // arg 2: the shape (array of strings)
      'B A'
    ],
    {
      A: 'minecraft:andesite',
      B: 'minecraft:diorite',  //arg 3: the mapping object
      C: 'minecraft:granite'
    }
  )
})

#Language tests

Šaursliežu Dzelsceļš
生活就像海洋,只有意志坚强的人才能到达彼岸

  • List item 1
  • List item 2,
    Referenced, multi-line content:

    test alt text, image from client_scripts/

    Bottom text
  • List item 3

#Methods

#.texture(side: Direction, texture?: ID, test: int)

Inline test .propertyinline test .method(test: int) inline test.

#Tables


Header 1Header 2
Cell 1Cell 2
Cell 3Cell 4
Header 1Header 2
Cell 1# Cell 2
Block Registry
Referenced, multi-line content:

test alt text, image from client_scripts/

Bottom text
Cell 5.methodInCell(test: int): String

Event ListEvent Table