Skip to content

SwiftMD 1.0.0

Choose a tag to compare

@ThorFuchs ThorFuchs released this 19 Nov 16:44
· 57 commits to main since this release

SwiftMD compiles Markdown to HTML through SwiftGFM and its pinned cmark-gfm parser. The Core package can be used independently; with no optional renderers its output matches SwiftGFM byte for byte for the same configuration.

The generated adapter package adds a single-call SwiftMDBundled API for Swift-Highlight, KaTeX block MathML and Pele diagram SVG. Apple platforms use JavaScriptCore; Linux requires a trusted, separately supplied Node executable. The generated MathML and SVG need no browser-side JavaScript. SwiftSoup library sources are vendored without upstream test fixtures, with their license notices.

The release supports math and mermaid code fences. Inline math, $$ block math, general HTML/SVG sanitization and full GFM conformance are not claimed. Review the security contract and process-isolation guidance for untrusted inputs. Automated scans are not an expert security audit or legal opinion.

See the documentation and example gallery.

Tested execution covers Linux x86_64, macOS arm64 and an iOS 27.2 simulator. The simulator is not a physical-device test. Other platform declarations and cross-builds alone are not runtime evidence.