1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Created richtext_bbcode (markdown)

Juan Linietsky
2015-04-21 15:45:59 -03:00
parent c2d1418496
commit f83bd6a337

20
richtext_bbcode.md Normal file

@@ -0,0 +1,20 @@
# BBCode for RichTextLabel
### Introduction
[RichTextLabel](class_richtextlabel) allows to display complex text markup in a control. It has a built-in API for generating the markup, but can also parse a BBCode.
### Setting Up
For RichTextLabel to work properly, it must be set-up. This means loading the intended fonts in the releavant properties:
<p align="center"><img src="images/rtl_setup.png"></p>
### Reference
Command | Tag | Description
--------|-----|-------------
*bold* | `[b]{text}[/b]` | Makes {text} bold.
*italics* | `[i]{text}[/i]` | Makes {text} italics.
*underline* | `[u]{text}[/u]` | Makes {text} underline.