Lists

This page showcases different list types and nesting.

Unordered Lists

Basic Unordered List

  • First item

  • Second item

  • Third item

  • Fourth item

Nested Unordered List

  • Level 1 item A

    • Level 2 item A1

    • Level 2 item A2

      • Level 3 item A2a

      • Level 3 item A2b

    • Level 2 item A3

  • Level 1 item B

    • Level 2 item B1

List with Complex Content

  • First item with a longer description that wraps to multiple lines to demonstrate how list item text is handled.

  • Second item with inline formatting: bold, italic, and code.

  • Third item with a link: Antora Documentation

  • Fourth item with multiple paragraphs:

    This is a continuation paragraph. It belongs to the fourth item.

    And another continuation paragraph.

Ordered Lists

Basic Ordered List

  1. First step

  2. Second step

  3. Third step

  4. Fourth step

Nested Ordered List

  1. Main step one

    1. Sub-step 1.1

    2. Sub-step 1.2

      1. Sub-sub-step 1.2.1

      2. Sub-sub-step 1.2.2

    3. Sub-step 1.3

  2. Main step two

    1. Sub-step 2.1

  3. Main step three

Ordered List with Custom Start

  1. This starts at five

  2. Six

  3. Seven

  4. Eight

Ordered List with Different Numbering Styles

  1. Item a

  2. Item b

  3. Item c

  1. Item I

  2. Item II

  3. Item III

  1. Item α

  2. Item β

  3. Item γ

Mixed Lists

  • Unordered item

    • Nested unordered

      1. Ordered inside unordered

      2. Second ordered item

    • Back to nested unordered

  • Another unordered item

Description Lists

Basic Description List

Term 1

Definition for term 1. This can span multiple lines.

Term 2

Definition for term 2.

Term 3

Definition for term 3.

Description List with Nested Content

First Term

This is the definition of the first term.

It includes a continuation paragraph.

Second Term

This term has a code block:

const example = "code in description list";
Third Term

This term has a nested list:

  • Sub-item A

  • Sub-item B

  • Sub-item C

Horizontal Description List

CPU

Central Processing Unit

RAM

Random Access Memory

SSD

Solid State Drive

HDD

Hard Disk Drive

Q&A Style Description List

  1. What is Antora?

    Antora is a documentation site generator for AsciiDoc content.

  2. What is AsciiDoc?

    AsciiDoc is a lightweight markup language for writing documentation.

  3. How do I build a site?

    Run antora antora-playbook.yml from your project root.

Checklists

Task List

  • Completed task

  • Another completed task

  • Pending task

  • Another pending task

  • Final completed task

Interactive Checklist (Static)

  • Required: Install Node.js 18+

  • Required: Install pnpm

  • Optional: Configure custom theme

  • Optional: Set up CI/CD

Lists with Block Content

  1. First step

    pnpm install
  2. Second step

    Make sure to run this from the project root.
    pnpm build
  3. Third step

    Example 1. Expected output

    Build completed successfully. Output written to ./build/site

Compact Lists (No Blank Lines Between Items)

  • Compact item one

  • Compact item two

  • Compact item three

  • Compact item four

Bibliography Style List

  • [ref1] Author One. Title of First Reference. Publisher, 2024.

  • [ref2] Author Two. Title of Second Reference. Publisher, 2023.

  • [ref3] Author Three. Title of Third Reference. Publisher, 2022.