Skip to content

v0.0.3

Choose a tag to compare

@cellgit cellgit released this 20 Aug 13:44
· 2 commits to main since this release

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 separate reasoning_content field — 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 .handledByHost and handle the event yourself, or .disabled to turn it off. A link whose scheme is not in allowedLinkSchemes is 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