CommonMark resource
CommonMark parsing and rendering library and program in C observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 97
- Release rhythm 38
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4238
- days_rel: 200
- days_push: 21
- n_releases_24m: 1
Adoption not part of the score
2022 stars · 676 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CommonMark is a rationalized, unambiguous specification of the Markdown syntax, with BSD-licensed reference implementations in C (cmark) and JavaScript (commonmark.js). The spec repository contains the specification itself plus conformance test tooling with 500+ embedded examples for validating Markdown implementations.
Use cases
- validate a markdown parser against the commonmark spec
- unambiguous markdown syntax specification
- test my markdown implementation with standard test suite
- convert markdown to html consistently across platforms
- extract spec test cases as json for my own parser
- resolve markdown rendering differences between implementations
When to choose
- you are building or testing a Markdown parser and need a precise spec and conformance tests
- you need consistent, well-defined Markdown rendering behavior across systems
- you want a battle-tested reference implementation in C or JavaScript
When to avoid
- you need Markdown extensions like tables or footnotes not covered by the core spec
- you just want a quick Markdown library without caring about strict spec conformance
Facets
learning-resource · maturity stable
parser testing documentation markdown documentation parsers web-development developer-tools cross-platform cli browser markdown-spec conformance-tests reference-implementation specification nodejs
2 sources
- readme: https://github.com/commonmark/cmark · fetched 2026-08-28 · e9efb5161c90
- homepage: http://commonmark.org · fetched 2026-08-29 · a99eefad6c57
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| commonmark/cmark | main | 77 |
| commonmark/commonmark-spec | docs | 58 |
| commonmark/commonmark-java | sdk | 93 |
| commonmark/commonmark.js | sdk | 65 |
For agents
markdown · JSON · MCP: product_card(name="commonmark/cmark")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem