markdown

Documentation of Meteor's `markdown` package.

Note: This package has been deprecated.

This package lets you use Markdown in your templates.

Installation

meteor add markdown

Usage

This package is lazy loaded. Is is not added into the initial Bundle. So you need to import it in your template.

// myTemplate.js
import 'meteor/markdown';

Then just put your markdown inside {{#markdown}} ... {{/markdown}} tags. You can still use all of the usual Meteor template features inside a Markdown block, such as {{#each}}, and you still get reactivity.

Example:

<!-- myTemplate.html -->
{{#markdown}}I am using __markdown__.{{/markdown}}

outputs

<p>I am using <strong>markdown</strong>.</p>
Edit on GitHub
// search box