Files
meteor/docs/client/packages/showdown.html
Adam Monsen 4f13b2b89b api doc: use {{dstache}} template helper
Less/cleaner source code.
2014-09-29 14:14:57 -07:00

23 lines
586 B
HTML

<template name="pkg_showdown">
{{#markdown}}
## `showdown`
<!-- XXX rename to markdown when we rename the package -->
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>