Markdown source:


- `http://google.com`
    - `http://google.com`

Rendered result:


  • http://google.com
    • http://google.com

Note that the third code span is a link. Adding a newline before the list item makes the link disappear.

  • 1
    Ohh. Now I got the actual issue. Nice edit @balpha.
    – Himanshu
    Apr 15, 2013 at 9:49

1 Answer 1


Fixed in both versions of Markdown; this is in the next build.

Markdown list items that don't contain empty lines are treated differently from list items that do (see Markdown formatting bug with code blocks in lists for more fun with this fact).

Lists nested within other list items, where the outer (and by deduction, also the inner) list item had no empty line, received the span-level treatment (links, code spans, bolding, etc.) multiple times. What you found was the most obvious consequence of this bug (there are less obvious ones, like the creation of nested links). Thanks for noting!

  • This may seem obvious, but, so, the > appeared because that code block (due to the bug) was being treated as something in between a code and a link?
    – acdcjunior
    Apr 15, 2013 at 12:40
  • Yeah, that's a good way to put it. Or if you want, it was treated as both at the same time.
    – balpha StaffMod
    Apr 15, 2013 at 12:49

You must log in to answer this question.

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