Formatting MTEntryKeywords, MTEntryExcerpt with Markdown
Jacob Patton
patton at freetheslaves.net
Tue Feb 22 14:41:59 EST 2005
The "filters" attribute worked great. Thanks so much, John.
Is there documentation on the web for MT's filters attr and its use
with Markdown?
Thanks again,
Jacob
On Feb 22, 2005, at 1:51 PM, John Gruber wrote:
> Jacob Patton <patton at freetheslaves.net> wrote on 02/02/05 at 1:31pm:
>
>> I'm following Brad Choate's instructions (http://tinyurl.com/42cr8)
>> for
>> using Movable Type with Smarty templates, and I've run into some
>> difficulty formatting the MT keywords and excerpts with Markdown.
>> Hopefully somebody here can help.
>
> I have about this much experience with MT's dynamic PHP mode: [].
>
> So, I don't know the answer.
>
> I do know that with MT's regular static Perl mode, you only get text
> filtering on the MTEntryBody and MTEntryMore fields. If you want a
> text filter like Markdown or Markdown With SmartyPants to be applied
> to another field, like MTEntryExcerpt, you need to specify the
> filter in a 'filter' attribute. For example, I use Markdown With
> SmartyPants filtering on the MTEntryExcerpt field in my regular RSS
> feed. Here's the relevent portion of the template:
>
> <description>
> <$MTEntryExcerpt filters='markdown_with_smartypants'
> encode_xml='1'$>
> </description>
>
> Hope this helps,
>
> -J.G.
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
More information about the Markdown-Discuss
mailing list