Disambiguate List Item Followed by Code Block

David E. Wheeler david at kineticode.com
Wed Feb 18 12:33:47 EST 2009


Quick question: Since list items with multiple paragraphs need to be
indented four spaces, and code blocks are also indented four spaces,
is there any way to disambiguate a list followed by a code block?

* This is a list
* And so is this.

Is this a second paragraph in the second list item,
or a code block?

It looks like Markdown.pl and discount agree that it should be a
second paragraph. If that is indeed the standard, what should I do if
I actually want to follow a list with a code block?

Many thanks,


More information about the Markdown-Discuss mailing list