mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
22 lines
527 B
HTML
22 lines
527 B
HTML
<template name="pkg_markdown">
|
|
{{#markdown}}
|
|
|
|
## `markdown`
|
|
|
|
This package lets you use Markdown in your templates. It's easy: just
|
|
put your markdown inside `{{dstache}}#markdown}} ... {{dstache}}/markdown}}`
|
|
tags. You can still use all of the usual Meteor template features
|
|
inside a Markdown block, such as `{{dstache}}#each}}`, and you still get
|
|
reactivity.
|
|
|
|
Example:
|
|
|
|
`{{dstache}}#markdown}}I am using __markdown__.{{dstache}}/markdown}}`
|
|
|
|
outputs
|
|
|
|
<p>I am using <strong>markdown</strong>.</p>
|
|
|
|
{{/markdown}}
|
|
</template>
|