Table of Contents

About

There are two type of classic list:

  • ordered
  • and unordered (also known as bullet list)

Syntax

The list syntax expects you to put each item in a single line.

Unordered

Input

  * Yellow
  * Blue
    * Steelblue
  * Orange

Output

  • Yellow
  • Blue
    • Steelblue
  • Orange

Ordered

Input:

  - Yellow
  - Blue
    - Steelblue
  - Orange

Output:

  1. Yellow
  2. Blue
    1. Steelblue
  3. Orange

If you put an empty line, the numbering resets. Demo:

Input:

  - Yellow
  - Blue

  - Orange

Output:

  1. Yellow
  2. Blue
  1. Orange

How can I generate a list of pages?

Check this page: How can I generate a list of pages?.