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?
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.