v0.0.3
Markdown rendering SDK for iOS, built for streaming AI output.
What's in 0.0.3
- Reasoning folds. A model's chain of thought — inline
<think>…</think>or a separatereasoning_contentfield — streams into a collapsible panel above the answer and folds itself away once the answer starts. - Interaction policies. Links, images and copy are handled for you by default (
.automatic); take any one back with.handledByHostand handle the event yourself, or.disabledto turn it off. A link whose scheme is not inallowedLinkSchemesis never opened and never handed over. - Streaming chunk coalescing. Token-sized chunks are gathered before crossing into the web view, so a fast stream costs far fewer process round trips. Reveal pacing is unchanged.
- Render core fault tolerance for the not-quite-standard Markdown models actually produce.
0.0.2 shipped this same code with its version string left behind, so MarkdownRenderKit.version reported 0.0.2 for APIs that were already there. This release is that code stamped as what it is.
Install
Swift Package Manager — in Xcode, File → Add Package Dependencies:
https://github.com/cellgit/swift-markdown-kit.git
Or drop SwiftMarkdownKit-0.0.3.xcframework.zip below into Xcode and select Embed & Sign.
Requires iOS 17 or later.
Verify the download
shasum -a 256 -c SwiftMarkdownKit-0.0.3.xcframework.zip.sha256
Licensing
Evaluate with no time limit and no licence file — every feature renders, and an unlicensed app shows a small badge over the rendered content. Removing the badge needs a licence bound to your Apple Team ID: https://macdeer.com/pricing