seemingly no good way to end bulleted list and start code block

Matt Kraai kraai at
Sat Oct 6 19:37:21 EDT 2007


The following bug report was sent to the Debian BTS. Is there a way
to have a code block immediately follow an unordered list?

----- Forwarded message from Joey Hess <joeyh at> -----

Consider this markdown:

* bla
* bla2

this should be treated as code block

and it is not ...

but if bullets are not above this, it works

If the first code block is indented with 8 spaces, or 2 tabs, it will be
treated as a nested code block inside the second list item, but there seems
to be no way to make it be seen as a code block that immediately follows
the list.

----- End forwarded message -----


More information about the Markdown-Discuss mailing list