What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

I just noticed a question that had two different numbered lists with different numbers but both were rendered as "1". Screen shot:

enter image description here

Is this supposed to be happening?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

Yes, it's supposed to be happening: – that's how Markdown defines it:

It’s important to note that the actual numbers you use to mark the list have no effect on the HTML output Markdown produces.

It's probably one of the more debated features of Markdown, but it's indeed thusly defined in the “spec” (scare quotes because the Markdown spec is more of a “description of behaviour” than an actual specification).

share|improve this answer

This is by design per the markdown spec. Those are two unconnected lists.

You can however do this

1. List Item

   or

2. List item
  1. List Item

    or

  2. List item

share|improve this answer

Yes, it's an unfortunate trait of markdown. You can get around it by indenting each entire list item by 4 spaces however.

  1. This is a multi-paragraph list item.

    It has lots of teeny paragraphs.

    But there is a way around it...

  2. It's not ideal, but it gets the job done!

  3. Ta da!

(found this out from the markdown reference on daringfireball)

share|improve this answer

Yes, it's a bug and it isn't. It appears to be by design. I can reproduce it here (edit to see the problem). If you hit enter after placing the second list item, then this problem goes away:

  1. List item

    or

  2. List item

share|improve this answer
1  
If it's by design, then it's not a bug... –  Daniel DiPaolo Jun 13 '11 at 21:31

You must log in to answer this question.

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