Socket
Socket
Sign inDemoInstall

markdown-it-mark

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    markdown-it-mark

<mark> tag for markdown-it markdown parser.


Version published
Weekly downloads
168K
decreased by-6.79%
Maintainers
1
Install size
15.3 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 05 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc