Skip to content

Releases: cellgit/swift-markdown-kit

Release list

v0.0.4

Choose a tag to compare

@cellgit cellgit released this 20 Aug 14:44

Markdown rendering SDK for iOS, built for streaming AI output.

What changed

Packaging only — the renderer is identical to 0.0.3.

The XCFramework is no longer committed to the repository. Package.swift now uses binaryTarget(url:checksum:) pointing at the release asset below, so cloning the package no longer pulls down every framework ever published. The repository is a few hundred kilobytes instead of growing by several megabytes per release.

Nothing about how you use it changes, and from: "0.0.3" keeps resolving exactly as before.

Install

Swift Package Manager — in Xcode, File → Add Package Dependencies:

https://github.com/cellgit/swift-markdown-kit.git

Or drop SwiftMarkdownKit-0.0.4.xcframework.zip below into Xcode and select Embed & Sign.

Requires iOS 17 or later.

XCFramework

Slices: ios-arm64, ios-arm64_x86_64-simulator

shasum -a 256 -c SwiftMarkdownKit-0.0.4.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

v0.0.3

Choose a tag to compare

@cellgit cellgit released this 20 Aug 13:44

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