Wiki Help

Revision Difference

Headers#561604

<cat>editing</cat> <warning>Do not use markdown in headers!</warning>⤶ <title>Headings</title>⤶ ⤶ # Headings⤶ ⤶ Headings allow you to structure page content into different sections & subsections.⤶ ⤶ <br/>⤶ ⤶ ## Types⤶ ⤶ Markdown supports the use of `<h1>` to `<h5>` with the following shorthand syntax:⤶ ⤶ <br/>⤶ ⤶ ```Markdown⤶ # <h1> Heading⤶ ```⤶ ⤶ ![H1]⤶ ⤶ ```Markdown⤶ ## <h2> Heading⤶ ```⤶ ⤶ ![H2]⤶ ⤶ ```Markdown⤶ ### <h3> Heading⤶ ```⤶ ⤶ ![H3]⤶ ⤶ ```Markdown⤶ #### <h4> Heading⤶ ```⤶ ⤶ ![H4]⤶ ```markdown⤶ # This is the main header⤶ ⤶ This is some text in this section. You can ignore it.⤶ ⤶ ## This is a secondary header⤶ ⤶ This is some more text, you can also ignore it.⤶ ⤶ ### This is a less minor header⤶ ⤶ This is the last line of text. You should definitely ignore it.⤶ ⤶ ```⤶ ⤶ ⤶ # This is the main header⤶ ⤶ This is some text in this section. You can ignore it.⤶ ⤶ ## This is a secondary header⤶ ⤶ This is some more text, you can also ignore it.⤶ ⤶ ### This is a less minor header⤶ ⤶ This is the last line of text. You should definitely ignore it.⤶ ⤶ # ⤶ ```Markdown⤶ ##### <h5> Heading⤶ ```⤶ ⤶ ![H5]⤶ ⤶ <br/>⤶ ⤶ <warning> There should only ever be one `<h1>` heading! </warning>⤶ ⤶ <br/>⤶ ⤶ ## Notes⤶ ⤶ - All headings are links with [URI Fragments].⤶ ⤶ - Markdown cannot be used inside headings.⤶ ⤶ - Any heading with more than 5 `#` will use `<h5>`⤶ ⤶ [URI Fragments]: https://en.wikipedia.org/wiki/URI_fragment⤶ ⤶ [H1]: https://files.facepunch.com/wiki/files/b5608/8dc519da7ce717e.png⤶ [H2]: https://files.facepunch.com/wiki/files/b5608/8dc519da4e16fbf.png⤶ [H3]: https://files.facepunch.com/wiki/files/b5608/8dc519daa2ebefe.png⤶ [H4]: https://files.facepunch.com/wiki/files/b5608/8dc519dac33102f.png⤶ [H5]: https://files.facepunch.com/wiki/files/b5608/8dc519dae04a20b.png⤶