Markdown Formatting Guide

Reading time: 1 minute

Markdown Formatting Guide

This post demonstrates various Markdown formatting options available in Hugo.

Text Formatting

You can make text bold, italic, or both. You can also use strikethrough.

Headings

H1 Heading

H2 Heading

H3 Heading

H4 Heading

Lists

Unordered Lists

  • Item one
  • Item two
    • Nested item
    • Another nested item
  • Item three

Ordered Lists

  1. First item
  2. Second item
  3. Third item

Visit Hugo’s website

For images, place them in /static/images/:

![Alt text](/images/example.png)

Blockquotes

This is a blockquote. It can span multiple lines.

Code

Inline code looks like this.

Code blocks with syntax highlighting:

def hello_world():
    print("Hello, World!")
    return True
func main() {
    fmt.Println("Hello, World!")
}

Tables

FeatureSupport
Markdown
Syntax Highlighting
Tables

Horizontal Rules


Task Lists

  • Write the post
  • Add examples
  • Publish

How do you use Markdown in your workflow?

Best Practices