# pulldown-cmark/pulldown-cmark

An efficient, reliable parser for CommonMark, a standard dialect of Markdown

Repository: https://github.com/pulldown-cmark/pulldown-cmark
Canonical: https://ross.abutalabs.com/products/pulldown-cmark
Homepage: https://pulldown-cmark.github.io/pulldown-cmark
Language: Rust
License: MIT
License Family: permissive
Topics: commonmark, markdown, parser, rust
Last push: 2026-08-17T10:27:03+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 4109, "days_push": 16, "days_rel": 105, "gap_med": 42, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2697, forks 301 (observed 2026-08-28T04:07:11.191210+00:00)

## What it is
pulldown-cmark is a fast, memory-efficient pull parser for CommonMark Markdown written in pure Rust, with an included CLI tool for rendering to HTML. It supports GFM extensions like tables, task lists, strikethrough, footnotes, admonitions, and math, plus source-map information.

## Use cases
- parse markdown into html in rust
- render commonmark documents
- convert markdown files to html from the command line
- build a static site generator with markdown support
- extract structure and offsets from markdown with source maps
- parse github-flavored markdown tables and task lists
- process markdown with minimal memory allocation

## When to choose
- you need a fast, spec-compliant CommonMark parser in Rust
- memory usage matters and you want pull parsing instead of building a full AST
- you need source-map offsets between parsed blocks and original text
- you want GFM extensions like tables, footnotes, and strikethrough

## When to avoid
- you need an AST-based parser with tree manipulation
- you need Markdown flavors beyond CommonMark/GFM such as MultiMarkdown
- you are not working in Rust and need bindings in another language

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, cli
- domain: parsers, web-development, developer-tools, documentation
- platform: rust, cli, cross-platform
- tags: commonmark, pull-parser, html-rendering, gfm-extensions, source-maps

## Member repositories
- pulldown-cmark/pulldown-cmark (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.191210+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:16:13.507834+00:00, confidence not recorded.
  - readme: https://github.com/pulldown-cmark/pulldown-cmark (fetched 2026-08-28T04:07:11.191210+00:00, sha d7fad6656e64)
  - homepage: https://pulldown-cmark.github.io/pulldown-cmark (fetched 2026-08-29T09:59:19.141792+00:00, sha 54de62cced97)
- Data as of 2026-08-30T08:39:29.467469+00:00.
