CTAN
Comprehensive TeX Archive Network

CTAN Mark­down: Ordered Lists

If the line starts with a num­ber fol­lowed by a dot and a space then this is in­ter­preted as item in an enu­mer­ated list.

1. item1
2. item2

9. item1
  1. item1
  2. item2
  1. item1

In fact it does not mat­ter which digit is used to start with. It can be any value. The enu­mer­a­tion is per­formed au­to­mat­i­cally. Even if there are more than 9 items the first digit has to be a sin­gle one.


1. item1
1. item2

1. item1
  1. item1
  2. item2
  1. item1

Note that the in­den­ta­tion of the first level by one space is ig­nored. This is for con­ve­nience but con­sid­ered to be a bad prac­tice.

Cas­cad­ing

Ordered lists can be cas­caded. This is done by in­dent­ing the next level by two more lead­ing spaces.

1. item1
  1. item1
  1. item2
1. item2  
  1. item1

1. item1

  1. item2
  2. item2

Mix­ture with un­ordered lists

1. item1
  * item1
  * item2
1. item2  
  1. item1

item1

  • item2
1. item2

* item1
  1. item1
  1. item2
* item2  
  • item1
    1. item1
    2. item2
  • item2

CTAN Mark­down

CTAN Mark­down Tester

The re­sult of the mark­down can in­ter­ac­tively be tested with our

Mark­down Tester
Guest Book Sitemap Contact Contact Author