markdown-it-mark
<mark> tag for markdown-it markdown parser.
Last updated 4 years ago by vitaly .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install markdown-it-mark 
SYNC missed versions from official npm registry.

markdown-it-mark

CI NPM version Coverage Status

<mark> tag plugin for markdown-it markdown parser.

v3.+ requires markdown-it v10.+, see changelog.

==marked== => <mark>inserted</mark>

Markup uses the same conditions as CommonMark emphasis.

Install

node.js, browser:

npm install markdown-it-mark --save
bower install markdown-it-mark --save

Use

var md = require('markdown-it')()
            .use(require('markdown-it-mark'));

md.render('==marked==') // => '<p><mark>marked</mark></p>'

Differences in browser. If you load script directly into the page, without package system, module will add itself globally as window.markdownitMark.

License

MIT

Current Tags

  • 3.0.1                                ...           latest (4 years ago)

5 Versions

  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (9)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |