micromark/micromark
small, safe, and great commonmark (optionally gfm, mdx) compliant markdown parser observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 20
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2850
- days_rel: 552
- days_push: 480
- n_releases_24m: 6
Adoption not part of the score
2216 stars · 87 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
micromark is a small, safe, 100% CommonMark-compliant markdown parser written in JavaScript, implemented as a state machine that emits concrete tokens with positional info and compiles them to HTML. It supports extensions such as GFM, MDX, directives, frontmatter, and math, and serves as the parsing foundation of the unified/remark ecosystem.
Use cases
- convert markdown to html in javascript
- parse markdown with a commonmark compliant parser
- add github flavored markdown support to my app
- build a custom markdown extension or syntax plugin
- get token positions from markdown source
- render mdx content safely
- build an ast from markdown for further processing
When to choose
- you need strict CommonMark (or GFM/MDX) compliance with high safety guarantees
- you want the smallest footprint markdown parser (~14kb)
- you need concrete tokens and positional info for complex markdown tooling
- you are building on the unified/remark ecosystem
When to avoid
- you need a ready-made AST rather than concrete tokens (use remark/mdast instead)
- you need markdown parsing in a non-JavaScript language
- you want a batteries-included markdown editor or renderer with UI
Facets
library · maturity stable
parser serialization developer-tools parsers web-development documentation frontend browser cross-platform markdown commonmark gfm mdx state-machine tokenizer unified-ecosystem html-compilation javascript nodejs
3 sources
- readme: https://github.com/micromark/micromark · fetched 2026-08-28 · 91a7534da1ef
- homepage: https://unifiedjs.com · fetched 2026-08-29 · 0359e5fdf9c6
- site_page: https://unifiedjs.com/explore/release · fetched 2026-08-29 · 34c5baf82537
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| micromark/micromark | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="micromark/micromark")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem