Package Exports
- markdown-it-hashtags
- markdown-it-hashtags/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (markdown-it-hashtags) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
markdown-it-hashtags
hashtag plugin for markdown-it markdown parser
Render #hashtag1/hashtag2
to <p><span class="hashtag">#hashtag1/hashtag2</span></p>
Use
var MarkdownIt = require('markdown-it');
var md_hashtag =require('markdown-it-hashtag');
var md = MarkdownIt().use(md_hashtag);
md.render('#hashtag');