markdown-it-emph

1.1.0 • Public • Published

markdown-it-emph

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>

Install

npm install markdown-it-emph

Usage

const emph = require('markdown-it-emph');
const md = require('markdown-it')().use(emph);
 
console.log(md.renderInline('_italic_ *emphasis*'));

Development

Add tests in test.js.

npm test
npm version [patch|minor|major]
npm publish

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.01
1.0.00

Package Sidebar

Install

npm i markdown-it-emph

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

2.85 kB

Total Files

5

Last publish

Collaborators

  • crissov