1. Lists
2. Can be
3. Numbered
- Lists
- Can be
- 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
- This is the first item
- This is the fifth item
- 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.`
- This list starts at #3
- 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:
- Blue
- Red
(I like red because that's the best flavor of Skittle. But I digress.)
- Orange
- [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:
- Blue
- Red
(I like red because that's the best flavor of Skittle. But I digress.)- Orange
- [etc]
Without the two spaces, that section would be:
- Blue
- Red (I like red because that's the best flavor of Skittle. But I digress.)
...because of how Markdown treats line breaks.