markdown-it

Markdown-it - modern pluggable markdown parser.

markdown-it downloads markdown-it version markdown-it license

markdown-itSimilar Packages:

Npm Package Weekly Downloads Trend

3 Years
🌟 Show real-time usage chart on markdown-it's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of markdown-it](https://npm-compare.com/img/npm-trend/THREE_YEARS/markdown-it.png)](https://npm-compare.com/markdown-it#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 Show GitHub stars trend chart on markdown-it's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of markdown-it](https://npm-compare.com/img/github-trend/markdown-it.png)](https://npm-compare.com/markdown-it)

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
markdown-it27,935,65421,8091.96 MB714 days agoMIT

README for markdown-it

markdown-it

CI NPM version Coverage Status

Markdown parser done right. Fast and easy to extend.

Live demo

  • Follows the CommonMark spec + adds syntax extensions & sugar (URL autolinking, typographer).
  • Configurable syntax! You can add new rules and even replace existing ones.
  • High speed.
  • Safe by default.
  • Community-written plugins and other packages on npm.

[!NOTE] If you are upgrading to v15, see the migration guide.

Documentation >>

Install (node.js):
npm install markdown-it

For a quick look at dist/ folder contents, see https://unpkg.com/markdown-it/. For browser you can use unpkg.com, esm.sh or any other CDN, which mirror npm registry.

Usage
import MarkdownIt from 'markdown-it'
const md = new MarkdownIt()
const result = md.render('# markdown-it rulezz!')

More usage examples.