markdown-it-br
v1.0.0
Published
tag for markdown-it markdown parser.
Downloads
1,608
Readme
markdown-it-br
BR plugin for markdown-it markdown parser.
v1.+ requires markdown-it
v4.+, see changelog.
protect <br> <script>
=> protect <br>
Install
node.js, browser:
npm install markdown-it-br --save
bower install markdown-it-br --save
Use
var md = require('markdown-it')()
.use(require('markdown-it-br'));
md.render('protect <br>') // => 'protect <br>'
The widgetparams can be used to determine what kind of html widget should be rendered in the output container.
Differences in browser. If you load script directly into the page, without
package system, module will add itself globally as window.markdownitBr
.