Releases: LiYanan2004/MarkdownView
Releases · LiYanan2004/MarkdownView
2.7.0
What's Changed
New features
- Added
MarkdownLinkRendererfor custom link rendering by URL scheme (#145) - Unified
MarkdownElementRendererregistration for block directives, images, and links (#146)
Resolved issues
- Fixed inline math rendering conflict with standard markdown attributes (#147)
Others
- Add "Markdown" prefix to certain public types for better API discover-ability
Full Changelog: 2.6.1...2.7.0
v2.6.1
What's Changed
- Fixed a crash during block math parsing (#142)
- Added: a package trait to turn off the support for LaTeX (#144)
Full Changelog: 2.6.0...2.6.1
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