This page provides an overview of the Markdown syntax supported by Hugo, along with some additional features and extensions.
Basic Syntax
Below are examples of basic Markdown syntax elements.
Headings
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Emphasis
italic text or italic text
bold text or bold text
bold and italic or bold and italic
strikethrough
Lists
Unordered Lists:
- Item 1
- Item 2
- Nested item
- Another nested item
Ordered Lists:
- First item
- Second item
- Third item
Links
Images

Blockquotes
This is a blockquote It can span multiple lines
Code
Inline code:
Use code for inline code snippets
Code blocks:
def hello_world():
print("Hello, World!")
Code Blocks with Highlighting:
1package main
2
3import "fmt"
4
5func main() {
6 for i := 0; i < 3; i++ {
7 fmt.Println("Value of i:", i)
8 }
9}
Horizontal Rules
Extended Syntax
Tables
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Task Lists
- Completed task
- Incomplete task
- Another task
Footnotes
Here’s a sentence with a footnote1.
Definition Lists
- Term
- Definition of the term
Automatic URL Linking
Escaping Characters
* Escaped asterisk _ Escaped underscore ` Escaped backtick
This is the footnote content. ↩︎