# markdown-it

> Markdown-it - modern pluggable markdown parser.

Latest version **15.0.2** (published 2026-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-it
pnpm add markdown-it
yarn add markdown-it
bun add markdown-it
```

Provides the command `markdown-it`.

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 15.0.2 |
| Published | 2026-09-11 |
| First published | 2014-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21915 |
| Maintainers | vitaly |
| Keywords | markdown, parser, commonmark, markdown-it, markdown-it-plugin |

## Links

- npm: https://www.npmjs.com/package/markdown-it
- Repository: https://github.com/markdown-it/markdown-it
- Homepage: https://github.com/markdown-it/markdown-it#readme
- Issues: https://github.com/markdown-it/markdown-it/issues
- Funding: https://github.com/sponsors/puzrin
- npm.io page: https://npm.io/package/markdown-it

## Dependencies (6)

- [mdurl](https://npm.io/package/mdurl.md) ^2.1.0
- [argparse](https://npm.io/package/argparse.md) ^3.0.0
- [entities](https://npm.io/package/entities.md) ^8.0.0
- [uc.micro](https://npm.io/package/uc.micro.md) ^3.0.0
- [linkify-it](https://npm.io/package/linkify-it.md) ^6.0.0
- [punycode.js](https://npm.io/package/punycode.js.md) ^2.3.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 15.0.2 (latest) — 2026-09-11
- 14.3.2 (v14-legacy) — 2026-09-12
- 15.0.1 — 2026-08-27
- 14.3.1 — 2026-08-27
- 15.0.0 — 2026-07-30
- 14.3.0 — 2026-07-02
- 14.2.0 — 2026-05-23
- 14.1.1 — 2026-02-11
- 14.1.0 — 2024-03-18
- 14.0.0 — 2023-12-08
- 13.0.2 — 2023-09-26
- 13.0.1 — 2022-05-03
- 13.0.0 — 2022-04-22
- 12.3.2 — 2022-01-08
- 12.3.1 — 2022-01-07
- … 72 more at https://npm.io/package/markdown-it/versions

## README

# markdown-it

[![CI](https://github.com/markdown-it/markdown-it/actions/workflows/ci.yml/badge.svg)](https://github.com/markdown-it/markdown-it/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/markdown-it.svg?style=flat)](https://www.npmjs.org/package/markdown-it)
[![Coverage Status](https://coveralls.io/repos/markdown-it/markdown-it/badge.svg?branch=master&service=github)](https://coveralls.io/github/markdown-it/markdown-it?branch=master)

> Markdown parser done right. Fast and easy to extend.

__[Live demo](https://markdown-it.github.io)__

- Follows the [CommonMark spec](http://spec.commonmark.org/) + 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](https://www.npmjs.org/browse/keyword/markdown-it-plugin)__
  and [other packages](https://www.npmjs.org/browse/keyword/markdown-it) on npm.


> [!NOTE]
> If you are upgrading to v15, see the [migration guide](docs/migration/migration_v15.md).

### [Documentation >>](https://markdown-it.github.io/markdown-it/)


##### 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

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

[More usage examples](docs/usage.md).

---
_Source: https://npm.io/package/markdown-it · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
