markdown-it-mark

4.0.0last stable release 1 year ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
238
Weekly Downloadsglobal
203,394

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

markdown-it-mark

<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

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
4.10
Test Coverage
No Data
Follows Semver
Yes
Github Stars
58
Dependenciestotal
10
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute markdown-it-mark in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install markdown-it-mark
Processing...
Done

6 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.