markdown-it-anchor-span

AnchorSpan plugin for markdown-it markdown parser.
Hello {|anchor|} World!
=> Hello <span id="anchor"></span>
Install
node.js, browser:
npm install markdown-it-anchor-span --save
bower install markdown-it-anchor-span --save
Use
var md = require('markdown-it')()
.use(require('markdown-it-anchor-span'));
md.render('Hello {|anchor|} World!')
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.markdownitAnchorSpan
.
License
MIT