Download Latest Version 2.1.0 source code.tar.gz (2.6 MB)
Email in envelope

Get an email when there's a new version of MarkdownView

Home / 2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
2.0.0 source code.tar.gz 2026-02-20 2.6 MB
2.0.0 source code.zip 2026-02-20 2.6 MB
README.md 2026-02-20 1.1 kB
Totals: 3 Items   5.3 MB 1

Breaking Changes

  • Minimum iOS deployment target raised from 13.0 to 16.0
  • MarkdownUI changed from class to struct (SwiftUI UIViewRepresentable best practice)
  • Requires swift-tools-version 6.0 (with Swift 5 language mode)

Bug Fixes

  • Fix race condition where window.showMarkdown was called before WKWebView finished loading, causing "not a function" error on first render in SwiftUI
  • Fix MarkdownUI not using the uiView parameter in updateUIView, which could cause updates to go to the wrong view instance
  • Allow intrinsic content height to shrink when rendering shorter Markdown

Improvements

  • Migrate webassets build tooling from webpack/Babel to esbuild (~90% smaller dev dependencies)
  • Slim highlight.js bundle to core + explicit language registrations
  • Add Playwright functional tests for JS rendering
  • Add pretest hook to ensure build runs before tests
  • Remove Travis CI configuration

Distribution

  • Swift Package Manager: Add the repository URL with version 2.0.0
  • CocoaPods: pod 'MarkdownView', '~> 2.0'
Source: README.md, updated 2026-02-20