Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

markdown-it

> 编程语言
Open source

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

21.8K stars0 likes3 views
WebsiteGitHub

About

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

markdown-it

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):
bash
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
javascript
import MarkdownIt from 'markdown-it'
const md = new MarkdownIt()
const result = md.render('# markdown-it rulezz!')

More usage examples.

Issues· 10 open

View all issuesOpen on GitHub
  • #1213

    Link reference definitions: three divergences from CommonMark 0.31.2

    Updated Sep 24, 2026
  • #1058

    Since v13 `linkify` incorrectly parses links with escaped characters

    Updated Aug 26, 2026
  • #1203

    Export interfaces like `ScannedDelimiters`

    Updated Aug 15, 2026
  • #1014

    Disabling the "code" rule doesn't disable code parsing, just code rendering

    Updated Mar 5, 2024
  • #936

    Centralise indented code block checks

    Updated Nov 19, 2023
  • #598

    Create attribute with null value

    enhancementUpdated Oct 10, 2021
  • #28

    Header anchors [needs discussion]

    Updated Feb 23, 2021
  • #374

    list sourceMap end row includes trailing blank lines

    bugUpdated Dec 2, 2017

> Tags

TypeScriptcommonmarkjavascriptmarkdown

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言