Order of Markdown and SmartyPants filters (was: Re: Markdown Support in Drupal6.14?)

Joonas Pulakka joonas.pulakka at iki.fi
Fri Oct 23 02:36:56 EDT 2009

2009/10/22 Michel Fortin <michel.fortin at michelf.com>

> 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20091023/bcc151da/attachment.htm>

More information about the Markdown-Discuss mailing list