What's wrong with my markdown syntax? Broken in stackoverflow and bluecloth...

Posted by nfm on Stack Overflow See other posts from Stack Overflow or by nfm
Published on 2010-06-12T05:32:43Z Indexed on 2010/06/15 22:02 UTC
Read the original article Hit count: 261

I just wrote some markdown and it doesn't seem to render correctly.

Is it legal syntax to have an ordered list, followed by newlines, then followed by an unordered list? Or is this a bug in bluecloth?

For example:

1. One
2. Two
3. Three

* Apple
* Banana
* Carrot

Bluecloth creates a single <ul> and nests apple, banana and carrot as <li>'s under it. Stackoverflow's post editor (wmd?) does this too.

Am I just doing it wrong? Surely this is a common usage case...

© Stack Overflow or respective owner

Related posts about syntax

Related posts about stackoverflow