From: Waylan L. <way...@ic...> - 2018-12-27 00:02:51
|
Commonmark and Markdown are not the same. At best, Commonmark is a derivative of Markdown which, by its own admission, behaviors differently than Markdown in some very specific ways. This is one of those ways. The Commonmark spec <https://spec.commonmark.org/0.28/#list-items> specifically permits a list to "interrupt a paragraph” while the Markdown rules <https://daringfireball.net/projects/markdown/syntax#list> (which Python-Markdown follows) disallow that. According to the Markdown rules (and the reference implementation) a list must always be preceded by a blank line. This is a feature, not a bug. For example, this problem <https://stackoverflow.com/q/37464769/866026> is avoided with Markdown’s behavior. Waylan Limberg > On Dec 26, 2018, at 5:47 PM, Humberto Ayres Pereira <hum...@pa...> wrote: > > Text >> >> * item 1 > >> This is one block, you require two, so use the required layout? > > Sure, it in GitHub Markdown it’s 2 blocks. I was just confused. > > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... <mailto:Pyt...@li...> > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss <https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss> |