Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
library:minedown:syntax [2020/09/15 14:28] – [Simple Syntax] phoenix616library:minedown:syntax [2022/06/01 11:40] – [Advanced Syntax] Add mention of space separator phoenix616
Line 3: Line 3:
 ===== Inline Formatting ===== ===== Inline Formatting =====
  
-| **Description**   | **Syntax**          | **More Info** | +| **Description**   | **Syntax**         | **Preview**                                   | **More Info**                                                        
- Color legacy  |` &6Text        `| [Formatting codes](https://minecraft.gamepedia.com/Formatting_codes) | +| Color legacy      |` &6Text           `| ![](https://i.phoenix616.dev/gbJYVeql.png)    | [Formatting codes](https://minecraft.gamepedia.com/Formatting_codes) | 
- Color         |` &gold&Text    `| [Color names](https://minecraft.gamepedia.com/Formatting_codes) | +| Color             |` &gold&Text       `| ![](https://i.phoenix616.dev/gfgApGrn.png)    | [Color names](https://minecraft.gamepedia.com/Formatting_codes)      
- RGB Hex Color |` &#ff00ff&Text `| Full hexadecimal format  +| RGB Hex Color     |` &#ff00ff&Text    `| ![](https://i.phoenix616.dev/glFV9zgw.png)    | Full hexadecimal format                                              
- RGB Hex Color |` &#f0f&Text    `| Short format (equivalent to long one) | +| RGB Hex Color     |` &#f0f&Text       `| ![](https://i.phoenix616.dev/gojZlSaN.png)    | Short format (equivalent to long one)                                
-|  Bold          |` **Text**      `|   +Gradient          |` &#f0f-#fff&Text  `| ![](https://i.phoenix616.dev/giOQuXV6.png)    | Inline gradients                                                     | 
-| Italic        |` ##Text##      `|   +| Rainbow           |` &rainbow&Text    `| ![](https://i.phoenix616.dev/ggYaEWZt.png)    | Inline Rainbow                                                       | 
- Underlined    |` __Text__      `|   +| Rainbow Phase     |` &rainbow:20&Text `| ![](https://i.phoenix616.dev/gojDf1ZM.png)    | Inline Rainbow with a phase                                          | 
- Strikethrough |` ~~Text~~      `|   +Bold              |` **Text**         `| ![](https://i.phoenix616.dev/fYDs0soW.png)    |                                                                      
- Obfuscated    |` ??Text??      `|   |+| Italic            |` ##Text##         `| ![](https://i.phoenix616.dev/gaLmjWZA.png)    |                                                                      
 +| Underlined        |` __Text__         `| ![](https://i.phoenix616.dev/gk6lbR0B.png)    |                                                                      
 +| Strikethrough     |` ~~Text~~         `| ![](https://i.phoenix616.dev/gpc5zBr4.png)    |                                                                      
 +| Obfuscated        |` ??Text??         `| ![](https://i.phoenix616.dev/giRU4C9u.gif)    |                                                                      |
  
 ===== Events ===== ===== Events =====
Line 26: Line 29:
 | Link + Hover                   |` [Text](https://example.com Hover Text)                   `| | Link + Hover                   |` [Text](https://example.com Hover Text)                   `|
 | Text formatting                |` [Text](blue underline)                                   `| | Text formatting                |` [Text](blue underline)                                   `|
 +| Gradient                       |` [Text](#fff-#000)                                        `|
 +| Rainbow                        |` [Text](rainbow)                                          `|
 +| Phased Rainbow                 |` [Text](rainbow:20)                                       `|
 | Text formatting + Link + Hover |` [Text](#0000ff underline https://example.com Hover Text) `| | Text formatting + Link + Hover |` [Text](#0000ff underline https://example.com Hover Text) `|
    
Line 36: Line 42:
 | RGB Hex Color      |` [Text](color=#ff00ff)                `| Full hexadecimal format | | RGB Hex Color      |` [Text](color=#ff00ff)                `| Full hexadecimal format |
 | RGB Hex Color      |` [Text](color=#f0f)                   `| Short format (equivalent to long one) | | RGB Hex Color      |` [Text](color=#f0f)                   `| Short format (equivalent to long one) |
 +| RGB Color Gradient |` [Text](color=#fff-#000)              `| Gradient of two colors. (Supports all color forms) |
 +| RGB Color Gradient |` [Text](color=#fff-#333-#222)         `| Gradient of three colors. |
 +| RGB Rainbow        |` [Text](color=rainbow)                `| An RGB rainbow. |
 +| Phased RGB Rainbow |` [Text](color=rainbow:50)             `| An RGB rainbow with a specific phase. |
 | Formatting         |` [Text](format=underline,bold)        `| | | Formatting         |` [Text](format=underline,bold)        `| |
 | Font               |` [Text](font=custom_font)             `| Set a custom font from a resource pack | | Font               |` [Text](font=custom_font)             `| Set a custom font from a resource pack |
Line 45: Line 55:
 | Hover Item Info    |` [Text](show_item=stone*2 nbt...)     `| Show item information, additional information needs to be provided as a string of the nbt in json | | Hover Item Info    |` [Text](show_item=stone*2 nbt...)     `| Show item information, additional information needs to be provided as a string of the nbt in json |
    
-All advanced settings can be chained/included in event definition.+All advanced settings can be chained/included in an event definition by writing them after each other separated by a **space**.
 You can't however add multiple different colors or click and hover actions! You can't however add multiple different colors or click and hover actions!