markdown

markdown

Documentation of Meteor's `markdown` package.

This package lets you use Markdown in your templates. It’s easy: just put your markdown inside {% raw %}{{#markdown}} ... {{/markdown}}{% endraw %} tags. You can still use all of the usual Meteor template features inside a Markdown block, such as {% raw %}{{#each}}{% endraw %}, and you still get reactivity.

Example:

{{#markdown}}I am using __markdown__.{{/markdown}}

outputs

<p>I am using <strong>markdown</strong>.</p>

© 2011–2017 Meteor Development Group, Inc.
Licensed under the MIT License.
https://docs.meteor.com/packages/markdown.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部