Headings

8TML > Reference > Blocks

#, ## and ### at the start of a line make a heading of level 1, 2 or 3 from the rest of the line.

# Level 1
## Level 2
### Level 3
#### Shown as level 3

Preview: Commodore 64, 40 columns

                                            
Level 1
Level 2
Level 3
Shown as level 3

Rules

  • A space after the # signs is required: #hashtag is normal text.
  • #### and deeper are shown as level 3.
  • A heading is always one source line. It wraps like a paragraph if it’s longer than the screen.
  • Headings are styled by the stylesheet keys h1, h2 and h3. They can be centered with <center> or with the center style word.

Setext headings (a line of === or --- under the text) don’t exist in 8TML.