SimonFairbairn/SwiftyMarkdown
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 3833
- days_rel: n/a
- days_push: 756
- n_releases_24m: 0
Adoption not part of the score
1741 stars · 290 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift library that converts Markdown files and strings into NSAttributedStrings with extensive customization options. It supports Apple platforms with dynamic type, Dark Mode, and a rules-based tokenisation engine for headings, lists, links, images, code blocks, and blockquotes.
Use cases
- render markdown text in a UILabel or UITextView
- convert markdown strings to attributed strings in an iOS app
- display markdown files bundled with an app
- customize fonts and styles for markdown rendering on Apple platforms
- support dark mode when showing markdown content
- parse markdown with lists, blockquotes, and code blocks in Swift
When to choose
- you need to render Markdown natively in iOS, macOS, tvOS, or watchOS apps
- you want NSAttributedString output for UIKit or AppKit text controls
- you need Dynamic Type and Dark Mode support out of the box
- you want a pure Swift, lightweight Markdown-to-attributed-string converter
When to avoid
- you need full CommonMark compliance or complex Markdown extensions like tables or footnotes
- you are targeting non-Apple platforms
- you need HTML or cross-platform rendering like WebKit-based views
- you need to convert Markdown to formats other than attributed strings
Facets
library · maturity stable
markdown parser serialization text-editors developer-tools mobile-development cross-platform nsattributedstring apple-platforms dynamic-type dark-mode uikit swift ios macos mobile desktop
1 source
- readme: https://github.com/SimonFairbairn/SwiftyMarkdown · fetched 2026-08-28 · 5f386aa16259
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SimonFairbairn/SwiftyMarkdown | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="SimonFairbairn/SwiftyMarkdown")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem