prs-markdown-render
v1.0.12
Published
Markdown render for prs. Powered by Markdown-it.
Downloads
18
Readme
prs-markdown-render
PRESSone markdown render. Powered by markdown-it
Usage
const Markdown = require('prs-markdown-render');
const markdownText = '## hello world';
const content = Markdown.render(markdownText);
Html
<div class="md-body">
{{content}}
</div>
Styles
Github markdown style
@import url('~prs-markdown-render/styles/github.markdown.css')
Syntax highlight
@import url('~prs-markdown-render/styles/atom-one-light.css')