What is the best way to create a numbered list in Markdown format? I currently have to manually enter the number I want to appear, but if I add items, I have to renumber them all.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That should happen automatically (at least in SO flavored MD):
The code I used it:
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