1. markdown-it-mark
<mark> tag for markdown-it markdown parser.
markdown-it-mark
Package: markdown-it-mark
Created by: markdown-it
Last modified: Tue, 05 Dec 2023 13:09:59 GMT
Version: 4.0.0
License: MIT
Downloads: 760,607
Repository: https://github.com/markdown-it/markdown-it-mark

Install

npm install markdown-it-mark
yarn add markdown-it-mark

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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin