Releases: LiYanan2004/MarkdownView
Releases · LiYanan2004/MarkdownView
2.6.0
New features
- Add support for inline and block HTML content rendering (#119)
Resolved issues
- Fixed: backslashes are escaped that causes mis-align with common-mark specs (#123)
- Fixed: random crashes initiated from
PreferenceKey.defaultValuedue to SwiftUI internal actor assertion failure (#128) - Fixed: content after an at sign (
@) may parsed as block directive even if math rendering is turned off and no custom renderer is attached (#130)
Full Changelog: 2.5.2...2.6.0
2.5.2
2.5.1
What's Changed
- Fix text formatting, including bold, italic, strikethrough, etc. (#116)
Full Changelog: 2.5.0...2.5.1
2.5.0
What's Changed
- Improve text layout performance (#100)
- Fix crashes related to PreferenceKey actor boundaries (#103)
- Fix crashes on mobile devices when having very long text (#111)
Full Changelog: 2.4.0...2.5.0
2.4.0
What's Changed
Resolved issues
- Math representation within a code block will no longer be transformed (#79)
- Fixed issues with flexible-SVG rendering (#94)
New features
- You can customize style for block quotes (#81)
- You can set font separately for both inline math & display math (#83)
- Code block now supports horizontal scrolling (#74)
- Display & inline math now supports horizontal scrolling when needed (#84)
- Table cell background & overlay are customizable (#86, #88)
- Header puddings are customizable (#95, #96)
- Add Github table style & Github block quote style (#87)
Full Changelog: 2.3.1...2.4.0
2.3.1
What's Changed
- Fixed:
MarkdownViewmay still render math equations even if you specify.markdownMathRenderingEnabled(false)(#67)
Full Changelog: 2.3.0...2.3.1
2.3.0
What's Changed
⚠️ Breaking Changes
- Already deprecated APIs has been removed
BlockDirectiveDisplayablehas been renamed toBlockDirectiveRenderermakeView(arguments:text:)has been changed tomakeBody(configuration:)
ImageDisplayablehas been renamed toMarkdownImageRenderermakeImage(url:alt:)has been changed tomakeBody(configuration:)
View.imageProvider(_:forURLScheme:)has been renamed toView.markdownImageRenderer(_:forURLScheme:)View.blockDirectiveProvider(_:for:)has been renamed toView.blockDirectiveRenderer(_:for:)
New Features
Resolved Issues
- App may crash on old platforms when rendering tables (#60)
Full Changelog: 2.2.1...2.3.0
2.2.1
2.2.0
New Features
- Drop minimum target back to iOS 15, macOS 12, etc (#47)
- Add
CodeBlockStyleprotocol for code block customizations (#48) - Add caches for
NetworkImage&MarkdownViewRenderer(#55)
Resolved issues
DefaultCodeBlockStylemay cause high CPU usage and block main thread during text streaming (#51)
Full Changelog: 2.1.1...2.2.0
2.1.1
What's Changed
- Fixed issue where backslashes () will never be correctly escaped. (#46)
Full Changelog: 2.1.0...2.1.1