Markdown Numbered lists


Example

1. Lists
2. Can be
3. Numbered
  1. Lists
  2. Can be
  3. Numbered

Note that the numbers themselves are ignored:

1. This is the first item
5. This is the fifth item
7. This is the seventh item
  1. This is the first item
  2. This is the fifth item
  3. This is the seventh item

However, the first number is used to start the numbering:

3. This list starts at #3
2. However, this item is #4, despite being prefixed with `2.`
  1. This list starts at #3
  2. However, this item is #4, despite being prefixed with 2.

This can be used to resume a list after it's been interrupted by other text/an image/a table/etc.

My very favorite colors are:    
1. Blue
5. Red

(I like red because that's the best flavor of Skittle. But I digress.)

3. Orange  
9. [etc]

My very favorite colors are:

  1. Blue
  2. Red

(I like red because that's the best flavor of Skittle. But I digress.)

  1. Orange
  2. [etc]

You can also annotate a list item in this way without interrupting the numbering:

My very favorite colors are:    
1. Blue
5. Red  
(I like red because that's the best flavor of Skittle. But I digress.)
9. Orange  
11. [etc]

Note that there is no blank line between 5. and the parenthetical statement, and there are two spaces at the end of "Red", so we get:

My very favorite colors are:

  1. Blue
  2. Red
    (I like red because that's the best flavor of Skittle. But I digress.)
  3. Orange
  4. [etc]

Without the two spaces, that section would be:

  1. Blue
  2. Red (I like red because that's the best flavor of Skittle. But I digress.)

...because of how Markdown treats line breaks.