Is there a way to create an automatically numbered list in Markdown format? Currently, I have to manually enter in what number I want to appear, but if I insert items in the list, it is cumbersome to have to re-number all the following items.
66
votes
3 Answers
91
votes
That should happen automatically (at least in SO flavored MD):
- test 1
- test 2
The code I used it:
1. test 1
1. test 2
The same works for GitHub flavored MD: https://gist.github.com/3489721
You can test it here: https://meta.stackexchange.com/questions/3122/formatting-sandbox
3
votes