list corner case

John MacFarlane jgm at berkeley.edu
Sun Sep 7 21:24:04 EDT 2008


I'm curious how people think the following *should* be interpreted:

- one
2. two

http://babelmark.bobtfish.net/?markdown=-++one%0D%0A2.+two%0D%0A%0D%0A

As you can see, implementations split into three groups here:

(a) treat as an unordered list
Markdown.pl, Python markdown, MultiMarkdown, BlueCloth, MarkdownJ,
Showdown

(b) treat as an unordered list with an ordered sublist
PHP Markdown, Text::Markdown, Pandoc

(c) treat as an unordered list followed by an ordered list
Maruku, Discount, PEG Markdown

John



More information about the Markdown-Discuss mailing list