mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
552 B
552 B
Markdown
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 you can use the markdown helper in your templates:
<!-- myTemplate.html -->
{{#markdown}}I am using __markdown__.{{/markdown}}
outputs
<p>I am using <strong>markdown</strong>.</p>