swiftlang/swift-markdown
Some data may be outdated — see provenance labels.
A Swift package for parsing, building, editing, and analyzing Markdown documents. observed · 2026-09-30
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 52
- age_days: 1919
- days_rel: 29
- days_push: 22
- n_releases_24m: 8
Adoption not part of the score
3428 stars · 303 forks observed · 2026-09-30
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-09-30 · 321c748e3f53
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-markdown | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-markdown")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem