Skip to content

Commit 841b1e7

Browse files
authored
Merge branch 'main' into patch-1
2 parents 0142c49 + 9516492 commit 841b1e7

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

content/en-us/ui/rich-text.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can also nest tags inside each other as long as you close them in the revers
3939

4040
`<b><i><u>Formatted text</u></i></b>`
4141

42-
### Color
42+
### Font color
4343

4444
`<font color=""> </font>`
4545

@@ -49,7 +49,7 @@ You can also nest tags inside each other as long as you close them in the revers
4949
<img src="../assets/ui/rich-text/Example-Color.png" width="600" />
5050
</blockquote>
5151

52-
### Size
52+
### Font size
5353

5454
`<font size=""> </font>`
5555

@@ -95,6 +95,15 @@ Font face/family names are listed on the `Datatype.Font` enum reference page.
9595
Font weight can be a case-insensitive string name including `Thin`, `ExtraLight`, `Light`, `Regular`, `Medium`, `SemiBold`, `Bold`, `ExtraBold`, or `Heavy`; it can also be a number in factors of 100 between `100` and `900`.
9696
</Alert>
9797

98+
### Font transparency
99+
100+
`<font transparency=""> </font>`
101+
102+
<blockquote>
103+
`Text at <font transparency="0.5">50% transparency</font>.`
104+
<img src="../assets/ui/rich-text/Example-Transparency.png" width="600" />
105+
</blockquote>
106+
98107
### Stroke
99108

100109
`<stroke> </stroke>`
@@ -108,15 +117,6 @@ Font weight can be a case-insensitive string name including `Thin`, `ExtraLight`
108117
See [Appearance Modifiers](../ui/appearance-modifiers.md) for details on `<stroke>` tag parameters such as `joins` and `thickness`.
109118
</Alert>
110119

111-
### Transparency
112-
113-
`<font transparency=""> </font>`
114-
115-
<blockquote>
116-
`Text at <font transparency="0.5">50% transparency</font>.`
117-
<img src="../assets/ui/rich-text/Example-Transparency.png" width="600" />
118-
</blockquote>
119-
120120
### Bold
121121

122122
`<b> </b>`
@@ -155,10 +155,10 @@ See [Appearance Modifiers](../ui/appearance-modifiers.md) for details on `<strok
155155

156156
### Line break
157157

158-
`<br />`
158+
`<br/>`
159159

160160
<blockquote>
161-
`New line occurs after this sentence.<br />Next sentence...`
161+
`New line occurs after this sentence.<br/>Next sentence...`
162162
<img src="../assets/ui/rich-text/Example-Line-Break.png" width="600" />
163163
</blockquote>
164164

0 commit comments

Comments
 (0)