Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markdown-it/markdown-it-mark
<mark> tag plugin for markdown-it markdown parser
https://github.com/markdown-it/markdown-it-mark
Last synced: 4 days ago
JSON representation
<mark> tag plugin for markdown-it markdown parser
- Host: GitHub
- URL: https://github.com/markdown-it/markdown-it-mark
- Owner: markdown-it
- License: mit
- Created: 2015-01-01T00:12:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T13:10:20.000Z (about 1 year ago)
- Last Synced: 2024-10-29T20:25:42.738Z (2 months ago)
- Language: JavaScript
- Homepage: https://markdown-it.github.io/
- Size: 30.3 KB
- Stars: 58
- Watchers: 6
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-marp-template - `markdown-it-mark`
- awesome-marp-template - `markdown-it-mark`
README
# markdown-it-mark
[![CI](https://github.com/markdown-it/markdown-it-mark/workflows/CI/badge.svg?branch=master)](https://github.com/markdown-it/markdown-it-mark/actions)
[![NPM version](https://img.shields.io/npm/v/markdown-it-mark.svg?style=flat)](https://www.npmjs.org/package/markdown-it-mark)
[![Coverage Status](https://img.shields.io/coveralls/markdown-it/markdown-it-mark/master.svg?style=flat)](https://coveralls.io/r/markdown-it/markdown-it-mark?branch=master)> `` tag plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.
__v3.+ requires `markdown-it` v10.+, see changelog.__
`==marked==` => `inserted`
Markup uses the same conditions as CommonMark [emphasis](http://spec.commonmark.org/0.15/#emphasis-and-strong-emphasis).
## Install
node.js, browser:
```bash
npm install markdown-it-mark --save
bower install markdown-it-mark --save
```## Use
```js
var md = require('markdown-it')()
.use(require('markdown-it-mark'));md.render('==marked==') // => '
marked
'
```_Differences in browser._ If you load script directly into the page, without
package system, module will add itself globally as `window.markdownitMark`.## License
[MIT](https://github.com/markdown-it/markdown-it-mark/blob/master/LICENSE)