Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Markdown source:


- ``
    - ``

Rendered result:

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

share|improve this question
Ohh. Now I got the actual issue. Nice edit @balpha. – hims056 Apr 15 '13 at 9:49
up vote 4 down vote accepted

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!

share|improve this answer
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 '13 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 Apr 15 '13 at 12:49

You must log in to answer this question.

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