<mt:MarkdownOptions>

Type: block

Example

<mt:MarkdownOptions>
  <!-- do something -->
</mt:MarkdownOptions>
This page was last updated on 1969-12-31, 16:00.

2 Notes

Does anyone have the slightest idea what this does?

Answered by Su on the forums, who points to this page.

What this page says is:

Configuration

By default, Markdown produces XHTML output for tags with empty elements. E.g.:

``

Markdown can be configured to produce HTML-style tags; e.g.:

``

Movable Type

You need to use a special MTMarkdownOptions container tag in each Movable Type template where you want HTML 4-style output:

`... put your entry content here ...`

The easiest way to use MTMarkdownOptions is probably to put the opening tag right after your tag, and the closing tag right before ``.

To suppress Markdown processing in a particular template, i.e. to publish the raw Markdown-formatted text without translation into (X)HTML, set the output attribute to ‘raw’:

`... put your entry content here ...`

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.