filters

Applies one or more text format filters.

Values

See the list of acceptable values in the AllowedTextFilters config directive docs

Examples

Remove the default text filter specified in the Edit Entry screen (Rich Text, Markdown, etc) by setting convert_breaks="0" and then use the filter attribute to specify the desired filter.

   <$mt:EntryBody convert_breaks="0" filters="__default__"$>

If you want to use Markdown for the body, but Markdown with SmartyPants for the extended entry, do this:

  <$mt:EntryMore convert_breaks="0" filters="markdown_with_smartypants"$>

For no formatting on EntryBody or EntryMore (extended) text, just use convert_breaks="0".

This page was last updated on 2009-01-23, 16:55. [Edit]

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.