UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextStyle.md
2024-10-27 10:53:47 +03:00

16 lines
449 B
Markdown

# Style
Apply custom styles using the `<style>` tag. For more information about creating custom styles, see the documentation on [Style Sheets](StyleSheets.md).
The opening `<style>` tag must contain the style name. The closing `</style>` tag, which simply closes the last style opened.
**Example:**
```
<style="Title">Styles</style>
You can create your own.
```
![Example image](../images/TMP_RichTextStyle.png)<br/>
_Applying a custom style_