0.0.6 • Published 7 years ago

ember-markdown-it v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

ember-markdown-it Travis

An Ember addon that provides a ES2015 module shim for working with the markdown-it Markdown parser.

Installation

ember install ember-markdown-it

Usage

import markdownit from 'markdown-it';

markdownit().render('# A Top Level Header');
// => "<h1>A Top Level Header</h1>"

In your templates

A helper is provided for easily rendering Markdown as HTML in your templates:

{{markdown-render someMarkdown}}

Note: This returns an Ember.Handlebars.SafeString. We are relying on markdown-it for sanitization. For more info, checkout the markdown-it Security docs.

Refer to the markdown-it documentation for more information.

0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago