Asciidoc Syntax Overview

1 min read

Basic Text Formatting

  • Bold: bold text or bold text

  • Italic: italic text or italic text

  • Monospace: monospace text

  • Superscript: superscript

  • Subscript: subscript

Headings

Document Title (Level 0)

Level 1 Section

Level 2 Section

Level 3 Section

Level 4 Section

Lists

Unordered Lists

  • Item 1

  • Item 2

    • Nested item

  • Item 3

Ordered Lists

  1. First item

  2. Second item

    1. Nested item

  3. Third item

  • Link: Link Text

  • Image: image::path/to/image.png[Alt Text]

  • Block image: image::path/to/image.png[Alt Text, width=300]

Markdown Syntax Overview

1 min read

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: