See this question. In the text of the question I have the numbers "1." and "2.", however when viewing the question they both display with "1."

Why is this occurring?

| |
  • A related effect of this is that when editing a post, you can number all your list items with '1.' and they'll be renumbered for display -- makes it very easy to add or remove items or re-order the list. – Niall C. Aug 8 '13 at 16:51

It's because they are separated by an image and Markdown thinks that it needs to start a new list.

If you indent the image by a space (like I've just done) then Markdown treats the image as part of the list and gets the numbering correct.

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .