Markdown Extra Spec: Parsing Section

John MacFarlane jgm at
Tue May 13 01:28:18 EDT 2008

+++ Michel Fortin [May 13 08 00:18 ]:

>> Is there any good reason for having two different types here?


> The link text can contain other span-level elements, such as emphasis,

> code blocks, etc. This *has* to be taken into account while parsing. On

> the other hand, text in the reference part is just plain text.

But it needn't be. Both constructs could be parsed as sequences of
inline elements. That's how pandoc and peg-markdown treat them.


More information about the Markdown-Discuss mailing list