swiftlang/swift-markdown
A Swift package for parsing, building, editing, and analyzing Markdown documents. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 99
- Release rhythm 71
- Longevity 100
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: 52
- age_days: 1871
- days_rel: 118
- days_push: 8
- n_releases_24m: 8
Adoption not part of the score
3403 stars · 295 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift package for parsing, building, editing, and analyzing Markdown documents, backed by GitHub-flavored Markdown's cmark-gfm implementation. It exposes an immutable, thread-safe, copy-on-write markup tree similar in design to SwiftSyntax.
Use cases
- parse markdown into a structured syntax tree in swift
- programmatically edit or transform markdown documents
- analyze markdown document structure
- build markdown documents from code
- work with github-flavored markdown in a swift app
When to choose
- you need a spec-compliant GFM parser in Swift
- you want a typed, immutable syntax tree for markdown manipulation
- you're building Swift tooling like documentation generators or linters
When to avoid
- you need markdown rendering to HTML out of the box with no tree manipulation
- your project is not in the Swift ecosystem
- you need CommonMark extensions beyond the supported dialect
Facets
library · maturity stable
parser markdown developer-tools parsers documentation developer-tools cross-platform cli markdown-parser cmark-gfm swift-package-manager syntax-tree document-editing swift
1 source
- readme: https://github.com/swiftlang/swift-markdown · fetched 2026-08-28 · 321c748e3f53
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-markdown | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-markdown")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem