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

If I put a code block in a list, a single newline in the source is displayed as two newlines in the rendered page:

  1. Sample:

    code here, single empty line following:
    more code here
  2. ...

(The eight space indent is markdown for "inside the list and a code block").
The same happens for unordered lists, but inside quotations everything works fine. One empty line in the source should correspond to one empty line in the output.

share|improve this question
How interesting… Here is the source, for those interested… – Josh Hunt Oct 3 '09 at 2:59
Well, great, so the error is in Markdown everywhere. Is Markdown divine? Is something that seems wrong to everyone's eyes an error of the eyes now? Does this really warrant a "status-bydesign"? – Svante Dec 3 '09 at 19:39

See answer here

Markdown formatting bug with code blocks in lists

share|improve this answer
I sure believe that it's broken and has always been broken. I've read your blog entry on poor parenting of open-source software. But could you kindly edit to explain that you think it's better to be consistent with markdown's no bugs than to format code inside lists well? (I sort of think that's your position, but I'm not certain, and I'd sure like to know why.) – Norman Ramsey Jun 23 '10 at 14:54

Seen, but it does make it hard to write nice answers for the archives:

share|improve this answer

You must log in to answer this question.

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