Renders this markdown
_italic_ *emphasis* __bold__ **strong** ____underline____
to this HTML
<i>italic</i> <em>emphasis</em> <b>bold</b> <strong>strong</strong> <u>underline</u>
npm install markdown-it-emph
const emph = require('markdown-it-emph');
const md = require('markdown-it')().use(emph);
console.log(md.renderInline('_italic_ *emphasis*'));
Add tests in test.js.
npm test
npm version [patch|minor|major]
npm publish