Skip to content

Markdown

Note

As this is only converts Markdown to Godot's BBCode so it can't be 100% compatible with Markdown. But I also add to it my own ideas to make almost every Godot's BBCode option available in Markdown way. Some are still as BBCode tags I cound find markdown way for them, it will be changed in feature versions. If you need you can mix and match Markdown with ExtendedBBCode.

Tag / Sings Example
# - ####
Will display text using Label Settings from headers
# text\n - where \n is new line
## text\n
### text\n
#### text\n
space
Will add vertical space bettween lines of given {size}
text
@space=<size>
text
** or __
Makes text use the bold (or bold italics) font RichTextLabel.
By defualt ** is used.
Can be set  to ** or __ in MarkdownParser using bold
**text**
__text__
* or _
Makes text use the italics (or bold italics) font of RichTextLabel.
By defualt * is used.
Can be set to * or _ in MarkdownParser using italics
*text*
_text_
@u
Makes text underlined.
@u{text}
~~
Makes text strikethrough.
~~text~~
` or ```
Makes text use the mono font of RichTextLabel.
`text`
```text```
@center or @> and <@
Makes text horizontally centered.
@center{text}
@>text<@
@right or @>
Makes text horizontally right-aligned.
@right{text}
@>text>@
@fill@justified or @< and >@
Makes text fill the full width of RichTextLabel.
@fill{text}
@justified{text}
@<text>@
@indent@tab or @| and |@
Indents text once. The indentation width is the
same as with - or * , but without a bullet point.
@indent{text}
@tab{text}
\|@text\|@
[]() or <https://>
Creates a hyperlink (underlined and clickable text).
Can contain optional textor display link as is.
If link starts with http it will be open in system web browser,
else it will be handle by custom_link signal.
<link> - this will only work if link starts with http://or https://
[text](link)
<link>
@[]()
Creates a tooltip hint that is displayed when hovering the text with the mouse.
Tooltip text should not be quoted (quotes will appear as-is in the tooltip otherwise).
@[text](hint)
![]()
Inserts an image from the path(can be any valid Texture2D resource).
If both widthand height are provided, the image will be scaled to that size.
![](path)
![height x width](path)
@color
Changes the color of text.
Color must be provided by a common name (see Named colors)
or using the HEX format (e.g. #ff00ff, see Hexadecimal color codes).
@color=<code/name>{<text>}
table
Creates a table with the <number> of columns.
Use the cell tag to define table cells.
@table=<number>{<cells>}
cell
Adds a cell with <text> to the table.
\| <text> \| <text> \|
-or *
Adds an unordered list.
List <items> must be provided by putting one item per line of text.
By defualt * is used.
Can be set to * or _ in MarkdownParser using points
- <items>
<items>
1.
Adds an ordered (numbered) list.
List <items> must be provided by putting one item per line of text.
1. <items>
@wave
wave-fx

@wave amp=50 freq=2{ text }
@tornado
tornado-fx
@tornado radius=5 freq=2{ text }
@shake
shake-fx
@shake rate=5 level=10{ text }
@rainbow
rainbow-fx
@rainbow freq=0.2 sat=10 val=20{ text }