2009/10/22 Michel Fortin <[email protected]> > Le 2009-10-22 à 13:29, Joonas Pulakka a écrit : > >> >> I'm now puzzled which is the correct order to apply the filters. >> SmartyPants >> first and Markdown then (as above), or the other way round (as you >> suggested >> a couple of months ago :-)? >> >> http://six.pairlist.net/pipermail/markdown-discuss/2009-September/001647.html >> > > Markdown, then Smartypants. If you run Smartypants first, it'll convert > characters like quotes to curly ones in link definitions and code samples, > and the result won't be processed correctly by the Markdown filter. > Smartypants wants HTML-formatted input, not Markdown-formatted input. > > This is documented in the PHP Markdown Readme: >
Thanks, it's clear now! Including that in SmartyPants documentation too might be a good idea, since some people (well, I at least) first get acquainted with Markdown and later want to add SmartyPants on top of it, and then keep looking for instructions from SmartyPants documentation... Best Regards, Joonas
_______________________________________________ Markdown-Discuss mailing list [email protected] http://six.pairlist.net/mailman/listinfo/markdown-discuss
