markdown-it-underline-lite

1.0.2 • Public • Published

For DXC business use

I needed underline capability for react-markdown-editor-lite, so I forked this repo. Feel free not to bother me with PRs, since it's for my company's usecase.

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

Package Sidebar

Install

npm i markdown-it-underline-lite

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

2.58 kB

Total Files

4

Last publish

Collaborators

  • ryandines