# kivikakk/comrak

CommonMark + GFM compatible Markdown parser and renderer

Repository: https://github.com/kivikakk/comrak
Canonical: https://ross.abutalabs.com/products/comrak
Homepage: https://comrak.ee
Language: Rust
License: NOASSERTION
License Family: other
Topics: commonmark, markdown, rust
Last push: 2026-08-10T13:00:20+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 92, longevity 100
- inputs: {"age_days": 3576, "days_push": 23, "days_rel": 53, "gap_med": 21.0, "n_releases_24m": 29}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1686, forks 191 (observed 2026-08-28T04:05:22.088628+00:00)

## What it is
Comrak is a 100% CommonMark and GitHub Flavored Markdown compatible parser and renderer written in Rust, usable as a library, CLI tool, or via WASM and language bindings. It passes the full CommonMark and GFM spec test suites and offers fine-grained parse/render options, pluggable syntax highlighting, and custom formatter support.

## Use cases
- parse markdown into an AST in Rust
- render markdown to HTML with GFM extensions like tables and strikethrough
- reformat markdown files in place from the command line
- convert markdown to HTML in a batch pipeline
- use markdown parsing in the browser via WASM
- customize markdown rendering with a custom formatter

## When to choose
- you need strict CommonMark or GFM spec compliance
- you want a fast, memory-safe Markdown parser in Rust
- you need both a CLI and a library API
- you're building a Rust web service or static site generator that processes Markdown

## When to avoid
- you need a Markdown parser in a language without existing bindings
- you need non-CommonMark dialects like MultiMarkdown or kramdown
- you want a batteries-included static site generator rather than a parser

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, cli, templating
- domain: web-development, developer-tools, documentation, parsers
- platform: rust, cli, wasm, cross-platform, windows
- tags: commonmark, gfm, markdown-parser, markdown-renderer, wasm-bindings, linux, macos

## Member repositories
- kivikakk/comrak (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.088628+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-30T03:38:59.000162+00:00, confidence not recorded.
  - readme: https://github.com/kivikakk/comrak (fetched 2026-08-28T04:05:22.088628+00:00, sha b729d282648a)
  - homepage: https://comrak.ee (fetched 2026-08-29T11:13:48.316758+00:00, sha d0536e3e0fac)
  - registry_crates: https://crates.io/api/v1/crates/comrak (fetched 2026-08-29T11:13:48.319105+00:00, sha c1f0e42facdc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
