ComboStrap - List

About

There are two type of classic list:

  • ordered
  • and unordered

Syntax

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

If you want a more complex list, you can use the content-list component

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
Powered by ComboStrap