You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Updated richtext_bbcode (markdown)
@@ -14,20 +14,20 @@ For RichTextLabel to work properly, it must be set-up. This means loading the in
|
|||||||
|
|
||||||
Command | Tag | Description
|
Command | Tag | Description
|
||||||
--------|-----|-------------
|
--------|-----|-------------
|
||||||
_bold_ | `[b]{text}[/b]` | Makes {text} bold.
|
**bold** | `[b]{text}[/b]` | Makes {text} bold.
|
||||||
_italics_ | `[i]{text}[/i]` | Makes {text} italics.
|
**italics** | `[i]{text}[/i]` | Makes {text} italics.
|
||||||
_underline_ | `[u]{text}[/u]` | Makes {text} underline.
|
**underline** | `[u]{text}[/u]` | Makes {text} underline.
|
||||||
_code_ | `[code]{text}[/code]` | Makes {text} monospace.
|
**code** | `[code]{text}[/code]` | Makes {text} monospace.
|
||||||
_center_ | `[center]{text}[/center]` | Makes {text} centered.
|
**center** | `[center]{text}[/center]` | Makes {text} centered.
|
||||||
_right_ | `[right]{text}[/right]` | Makes {text} right-aligned.
|
**right** | `[right]{text}[/right]` | Makes {text} right-aligned.
|
||||||
_right_ | `[right]{text}[/right]` | Makes {text} right-aligned.
|
**right** | `[right]{text}[/right]` | Makes {text} right-aligned.
|
||||||
_fill_ | `[fill]{text}[/fill]` | Makes {text} fill width.
|
**fill** | `[fill]{text}[/fill]` | Makes {text} fill width.
|
||||||
_indent_ | `[indent]{text}[/indent]` | Incrase Indent Level.
|
**indent** | `[indent]{text}[/indent]` | Incrase Indent Level.
|
||||||
_url_ | `[url]{url}[/url]` | Show <url> as such.
|
**url** | `[url]{url}[/url]` | Show <url> as such.
|
||||||
_url (ref)_ | `[url=<url>]{text}[/url]` | Makes {text} reference <url>.
|
**url (ref)** | `[url=<url>]{text}[/url]` | Makes {text} reference <url>.
|
||||||
_image_ | `[img=<path>][/img]` | Insert image at resource <path>.
|
**image** | `[img=<path>][/img]` | Insert image at resource <path>.
|
||||||
_font_ | `[img=<path>]{text}[/img]` | Use custom font at <path> for {text}.
|
**font** | `[img=<path>]{text}[/img]` | Use custom font at <path> for {text}.
|
||||||
_color_ | `[color=<code/name>]{text}[/color]` | Change {text} color, use # format such as #ff00ff or name.
|
**color** | `[color=<code/name>]{text}[/color]` | Change {text} color, use # format such as #ff00ff or name.
|
||||||
|
|
||||||
### Built-In Color Names
|
### Built-In Color Names
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user