New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

markdown-it

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it

Markdown-it - modern pluggable markdown parser.

latest
Source
npmnpm
Version
15.0.2
Version published
Weekly downloads
32M
51.49%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

markdown

FAQs

Package last updated on 11 Sep 2026

Related posts