Is it valid syntax to have ordered and unordered lists in sequence in markdown?
- by nfm
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 markdown parser does this too.
Am I just doing it wrong? Surely this is a common usage case...