# A bug in enumerating while another link/picture inserted in the middle. [duplicate]

1. lorem ipsum.

2. lorem ipsum

1. lorem ipsum

2. lorem ipsum

1. lorem ipsum

2. lorem ipsum

Though I used 3., 4., 5., and 6., the system however reset the enumeration? unless I put it right after the inserted picture/link, rather than in the newline.

When you completely break paragraphs (double line return), the ordered list starts afresh. A workaround is as I have done below. Use two spaces at the end of a line, followed by only a single carriage return (not two).

1. lorem ipsum.

2. lorem ipsum

3. lorem ipsum

4. lorem ipsum

5. lorem ipsum

6. lorem ipsum

Source:

1. lorem ipsum.

2. lorem ipsum

• The effect of a new paragraph can also be emulated by <br/><br/>, although some consider that to clutter the source. – Lord_Farin May 31 '13 at 22:43
• <br> is shorter and is what the Markdown processor itself generates. Thankfully, the idea that everything must validate as XML faded out a while ago. </rant> @Lord_Farin – ˈjuː.zɚ79365 May 31 '13 at 23:19