Inline tags

8TML > Reference > Inline markup

A few words between < and > are tags:

Tag Effect
a color name text color
<b> strong, the same as **
<i> emphasis, the same as *
<rev> reverse (swapped foreground and background)
<br> a line break
<center> centers the block, at its very start only
Plain, <b>strong</b>, <i>emphasis</i>, <rev>reverse</rev>.
<yellow><rev> WARNING </> and back to normal.

Preview: Commodore 64, 40 columns

                                            
Plain, strong, emphasis, reverse.
WARNING and back to normal.

Rules

  • Only these exact names are tags. Anything else between < and > is printed as written: <3, a < b, <hello>.
  • Styles add up. A color tag replaces the current color; <b>, <i> and <rev> add their effect. <yellow><rev> is yellow and reversed.
  • Closing: the short form </> or the full form </name> (</yellow>, </b>, …). Any closing tag resets all inline styling to the style of the surrounding role. There is no nesting.
  • The end of a block resets all inline styling.
  • Tag names are case-insensitive: <YELLOW> works.
<red>red <b>red and strong</b> back to normal</red>.
I <3 the C64, and 2 < 3 is true.

Preview: Commodore 64, 40 columns

                                            
red red and strong back to normal. I <3
the C64, and 2 < 3 is true.