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
library:minedown:syntax [2020/11/23 18:23] – Add gradient and rainbow information phoenix616library:minedown:syntax [2023/10/06 14:48] (current) – Update Minecraftwiki URL 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.wiki/w/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.wiki/w/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)                                
-| Gradient      |` &#f0f-#000&Text  `| Inline gradients | +| Gradient          |` &#f0f-#fff&Text  `| ![](https://i.phoenix616.dev/giOQuXV6.png)    | Inline gradients                                                     
-| Rainbow       |` &rainbow&Text    `| Inline Rainbow | +| Rainbow           |` &rainbow&Text    `| ![](https://i.phoenix616.dev/ggYaEWZt.png)    | Inline Rainbow                                                       
-| Rainbow Phase |` &rainbow:20&Text `| Inline Rainbow with a phase | +| Rainbow Phase     |` &rainbow:20&Text `| ![](https://i.phoenix616.dev/gojDf1ZM.png)    | Inline Rainbow with a phase                                          
-| Bold          |` **Text**      `|   +| Bold              |` **Text**         `| ![](https://i.phoenix616.dev/fYDs0soW.png)    |                                                                      
-| Italic        |` ##Text##      `|   +| Italic            |` ##Text##         `| ![](https://i.phoenix616.dev/gaLmjWZA.png)    |                                                                      
-| Underlined    |` __Text__      `|   +| Underlined        |` __Text__         `| ![](https://i.phoenix616.dev/gk6lbR0B.png)    |                                                                      
-| Strikethrough |` ~~Text~~      `|   +| Strikethrough     |` ~~Text~~         `| ![](https://i.phoenix616.dev/gpc5zBr4.png)    |                                                                      
-| Obfuscated    |` ??Text??      `|   |+| Obfuscated        |` ??Text??         `| ![](https://i.phoenix616.dev/giRU4C9u.gif)    |                                                                      |
  
 ===== Events ===== ===== Events =====
Line 39: Line 39:
 | General syntax     |` [Text](action=value)                 `| [ClickEvent.Action](https://ci.md-5.net/job/BungeeCord/ws/chat/target/apidocs/net/md_5/bungee/api/chat/ClickEvent.Action.html), [HoverEvent.Action](https://ci.md-5.net/job/BungeeCord/ws/chat/target/apidocs/net/md_5/bungee/api/chat/HoverEvent.Action.html) | | General syntax     |` [Text](action=value)                 `| [ClickEvent.Action](https://ci.md-5.net/job/BungeeCord/ws/chat/target/apidocs/net/md_5/bungee/api/chat/ClickEvent.Action.html), [HoverEvent.Action](https://ci.md-5.net/job/BungeeCord/ws/chat/target/apidocs/net/md_5/bungee/api/chat/HoverEvent.Action.html) |
 | Link               |` [Text](open_url=https://example.com) `| | Link               |` [Text](open_url=https://example.com) `|
-| Color              |` [Text](color=red)                    `| [Color names](https://minecraft.gamepedia.com/Formatting_codes) |+| Color              |` [Text](color=red)                    `| [Color names](https://minecraft.wiki/w/Formatting_codes) |
 | 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) |
Line 55: 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!