Markdown Extended Syntax
A quick reference to the Markdown extended syntax.
Refer to the Extended Syntax reference guide from The Markdown Guide for more information.
Table
| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |
Syntax | Description |
---|---|
Header | Title |
Paragraph | Text |
Fenced Code Block
```json
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
Footnote
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
Here’s a sentence with a footnote. 1
Heading ID
### My Great Heading{#custom-id}
My Great Heading
<h3 id="custom-id">My Great Heading</h3>
Definition List
term
: definition
- term
- definition
Strikethrough
~~The world is flat.~~
The world is flat.
Task List
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
{.list-unstyled}
- Write the press release
- Update the website
- Contact the media {.list-unstyled}
Emoji
Copy the emoji shortcode from Emoji Cheat Sheet by clicking on the emoji.
That is so funny! :joy:
That is so funny! 😂
Unsupported elements
Hugo does not support the highlight, subscript, and superscript elements. Use the HTML element itself instead.
Highlight
I need to highlight these <mark>very important words</mark>.
I need to highlight these very important words.
Subscript
H<sub>2</sub>O
H2O
Superscript
X<sup>2</sup>
X2
This is the footnote. ↩︎