Writing Content
Thomas Laurenson
letsblaze renders standard Markdown with a few additions. This post covers everything available when writing content.
Headings
<h1> is reserved for the page title, rendered automatically by the theme.
Use <h2> through <h6> for section headings within content.
H2
H3
H4
H5
H6
Lists
Ordered and unordered lists render with clean browser defaults.
- First item
- Second item
- Third item
- Unordered item
- Another item
- And another
Blockquotes
The web is for everyone. Build accordingly.
Attribution with a cite element:
Fast sites are kind sites.
— Someone who cares about UX
Footnotes
Standard Markdown footnotes work out of the box.1
Inline elements
Standard Markdown inline elements:
- Bold —
**text** - Italic —
_text_ Code—`code`Strikethrough—~~text~~
letsblaze also ships shortcodes for elements with no Markdown equivalent:
- Subscript: H2 O
- Superscript: E = mc2
- Highlight: marked text
- Abbreviation: HTML
Emoji
With enableEmoji = true in hugo.toml, use shorthand codes: 🚀 🎉 🔥
Unicode decimal and hexadecimal codes also work everywhere without configuration: 😄 🔥
Footnotes render at the bottom of the page with back-links. ↩︎