Skip to content

Commit

Permalink
Rich text ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundermaker300 committed Jan 22, 2022
1 parent ddb2b52 commit 5c9b8f4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
24 changes: 24 additions & 0 deletions docs/articles/rich-text-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Rich Text Reference
This page contains a rich text reference for broadcasts and hints that can be used in EXILED plugins.

## Rendering Tags
Applies bold or italics to the broadcast or hint.

### Examples
- `<b>Text</b>` would produce <b>Text</b>.
- `<i>Text</i>` would produce <i>Text</i>.

## Color
Applies a color to the broadcast or hint.

### Examples
- `<color=#FF0000>Text</color>` would produce <span style="color:#FF0000;">Text</span>.
- `<color=green>Text</color>` would produce <span style="color:#008000;">Text</span>.
See [this table](https://docs.unity3d.com/Packages/[email protected]/manual/StyledText.html#ColorNames) for a list of supported color names.

## Size
Changes the size of the broadcast or hint.

### Examples
- `<size=30>Text</size>` would increase the size of the text.
- `<size=5>Text</size>` would reduce the size of the text.
6 changes: 4 additions & 2 deletions docs/articles/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
- name: Tutorials
items:
- name: Creating A Plugin
href: tutorials/pluginstructure.md
href: tutorials/plugin-structure.md
- name: Understanding Events
href: tutorials/events.md
- name: MEC Coroutines
href: tutorials/mec.md
href: tutorials/mec.md
- name: Rich Text Reference
href: rich-text-reference.md
File renamed without changes.

0 comments on commit 5c9b8f4

Please sign in to comment.