# yuin/goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.

Repository: https://github.com/yuin/goldmark
Canonical: https://ross.abutalabs.com/products/goldmark
Language: Go
License: MIT
License Family: permissive
Topics: markdown, commonmark, golang, go
Last push: 2026-08-24T07:46:04+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 2686, "days_push": 9, "days_rel": 37, "gap_med": 3.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4964, forks 307 (observed 2026-08-28T04:09:03.933638+00:00)

## What it is
goldmark is a Markdown parser written in pure Go that is fully compliant with the CommonMark 0.31.2 specification. It features an extensible, interface-based AST that preserves source positions, making it easy to add custom syntax extensions like GitHub Flavored Markdown.

## Use cases
- parse markdown to html in go
- commonmark compliant markdown parser
- render github flavored markdown
- extend markdown with custom syntax
- convert markdown files in a static site generator
- markdown parser with ast access

## When to choose
- you need strict CommonMark compliance in a Go project
- you want to add custom Markdown syntax extensions
- you need an AST that preserves source positions
- you want a pure-Go dependency with no cgo

## When to avoid
- you need maximum raw parsing speed over standards compliance
- you are not working in Go
- you rely on blackfriday-specific non-standard behavior

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, templating
- domain: parsers, web-development, documentation
- platform: go, cross-platform, wasm
- tags: commonmark, gfm, ast, extensible, pure-go

## Member repositories
- yuin/goldmark (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.933638+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-29T18:17:46.903889+00:00, confidence not recorded.
  - readme: https://github.com/yuin/goldmark (fetched 2026-08-28T04:09:03.933638+00:00, sha 85e423968ea5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
