markdown-it-underline

1.0.1 • Public • Published

markdown-it-underline

Renders this markdown

_underline_ *emphasis*

to this HTML

<u>underline</u> <em>emphasis</em>

This might not be semantic correct, but who cares :-)

See the discussion at talk.commonmark.com.

Install

npm install markdown-it-underline

Usage

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

Development

Add tests in test.js.

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    773
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    773
  • 1.0.0
    0

Package Sidebar

Install

npm i markdown-it-underline

Weekly Downloads

667

Version

1.0.1

License

MIT

Last publish

Collaborators

  • arve0