These packages are available as a package collection, usable in Xcode or SwiftPM.
GitHub Flavored Markdown for Swift on GitHub's own cmark-gfm: HTML, XML, CommonMark, LaTeX and man output, a read-only Sendable syntax tree, explicit limits. macOS, iOS, Linux and WebAssembly.
1 package.