serkodev/markdown-exit
serkodev/markdown-exit has 1,372 GitHub stars and 23 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 07:17 UTC. Last push 2026-08-24.
Fast, customizable Markdown parser and renderer with full CommonMark support. TypeScript rewrite of markdown-it with enhancements.
What you can do
- 🛡️ Type Safety: Ship robust types, improve DX, and enable type-safe development.
- ⚡ New features: Async rendering for all rules includeing syntax highlighting and more.
- 🔌 Extensibility: Extend the markdown syntax, custom rendering with Plugins.
- 🤝 Compatibility: Compatible with markdown-it v15.0+ and its plugin API.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmarkdown-exit
A TypeScript rewrite of markdown-it with first-class typings, modern tooling, and enhancements.
Features
- 🛡️ Type Safety: Ship robust types, improve DX, and enable type-safe development.
- ⚡ New features: Async rendering for all rules includeing syntax highlighting and more.
- 🔌 Extensibility: Extend the markdown syntax, custom rendering with Plugins.
- 🤝 Compatibility: Compatible with markdown-it
v15.0+and its plugin API.
Documentation
Read the documentation for more details.
Installation
npm i markdown-exit
Version Compatibility
markdown-exit v2.0+ (@latest) supports markdown-it v15.0+ and its plugins, and adds new capabilities such as async rendering along with performance improvements.
| markdown-exit | markdown-it | Status |
|---|---|---|
v2.0+ (@latest) |
v15.0+ |
Actively maintained |
v1.x |
v14.x |
Superseded — see Migration to v2 |
v0.x (@legacy) |
v14.3.0 |
No longer maintained |
v0.x @legacy — no longer maintained
The legacy branch (v0.x) is no longer maintained. Its final release is v0.5.0, which tracks markdown-it v14.3.0.
v0.x existed to bring TypeScript typings to markdown-it. Since markdown-it has been rewritten in TypeScript as of v15, you can simply use markdown-it directly if native typings are all you need — or move to markdown-exit v2.0+ for markdown-it v15.0+ support plus async rendering and other enhancements.
npm i markdown-exit@legacy
Usage
import { createMarkdownExit } from 'markdown-exit'
// factory helper
const md = createMarkdownExit()
const html = md.render('# markdown-exit')
import { MarkdownExit } from 'markdown-exit'
// with the `new` keyword
const md = new MarkdownExit()
const html = md.render('# markdown-exit')
Default import
[!NOTE] Default export (with callable constructor support) is retained for markdown-it compatibility, but it may have drawbacks in module interop and tree-shaking.
import MarkdownExit from 'markdown-exit'
// callable function
const md = MarkdownExit()
md.render('# markdown-exit')
// with the `new` keyword
const md = new MarkdownExit()
md.render('# markdown-exit')
Guides
Migrate from markdown-it
Drop-in replacement for markdown-it with enhancements, see Migration Guide for details.
- import MarkdownIt from 'markdown-it'
+ import MarkdownExit from 'markdown-exit'
Credits
This project owes its foundation to the markdown-it community and all its contributors.
Authors of markdown-it
- Alex Kocharin github/rlidwka
- Vitaly Puzrin github/puzrin
Special Thanks
- John MacFarlane for the CommonMark spec and reference implementations.
- Definition owners of @types/markdown-it for the type definitions reference.
- Anthony Fu for inspiring async rendering by markdown-it-async.
License
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,804 starspublic-apis/public-apis
A collective list of free APIs
497,037 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,207 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,149 stars