Releases: LiYanan2004/MarkdownView
1.6.0
What's Changed
- Additional Customizations for (Unordered) Lists by @philipbel in #26
- Add options for rendering content in main thread to make ImageRenderer able to capture view content.
Full Changelog: 1.5.0...1.6.0
1.5.0
What's Changed
- Customizable foreground style in #21
- Add font group protocol in #22
- Unleash the power of Block Directive in #23
AnyImageDisplayable
&AnyBlockDirectiveDisplayable
are now available.
For more information, please checkout the PR linked above.
Deprecated APIs
You may need to change your code to adapt new implementations.
MarkdownFontProvider
markdownFont(_:)
BlockDirectiveDisplayable/makeView(arguments:innerView:)
Full Changelog: 1.4.0...1.5.0
1.4.0
What's Changed
- Fix
malloc: double free for ptr
crashes by @LiYanan2004 in #14 - Add rendering mode for MarkdownView by @LiYanan2004 in #16
- Default rendering mode is
.immediate
- Default rendering mode is
Full Changelog: 1.3.0...1.4.0
1.3.0
1.2.0
What's Changed
- Fixed version of swift-markdown
🥳 Now, you can add MarkdownView
package using a specific version.
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- TOC Menu
- New Copy Button for code blocks
- Fixed compile issue "ambiguous use of ..." after upgrading Xcode
- Fixed rendering issue when markdown text only contains attributed text
Full Changelog: 1.0.0...1.1.0
1.0.0
The final stable release of 1.0.0 is now available to the public.
With MarkdownView, you can create Text Views more easily, meanwhile it's also a perfect tool for Markdown Preview.
Hope you enjoy it.
Please feel free to pull a request or open an issue.
1.0.0-rc2
Fix an issue where SVG titles were not displayed
Full Changelog: 1.0.0-rc...1.0.0-rc2
1.0.0-rc
Top-to-bottom performance enhancements and some new capabilities.
Very close to the final release.
Performance:
- Up to 5x faster than previous version.
- Much smoother when resizing windows.
New Capabilities:
- Add markdown role option for better layout style.
- Support text selection in paragraph. (via
.textSelection(_:)
). - Back-deployed to iOS 15, macOS 12, tvOS 15 and watchOS 8.
- Support tint and font customization for markdown components.
Resolved issues:
- Fixed a compile error on iOS.
- Fixed an issue where the alternative text doesn't appear when displaying images.
- Fixed a crash during SVG loading.
- Alignment now is correct in editor mode.
- Fix an issue that can cause unexpected layout.
Other changes:
- Remove
SVGKit
and useWKWebView
to render SVG content.
Full Changelog: 0.2.0...1.0.0-rc
0.2.0
Performance
- Rendering is now at least 3x faster on ALL DEVICES.
- Real-time previewing is now much much smoother.
- Scrolling is much quicker and smoother with no frame drop.
- Memory usage has been reduced by 30%
New Features
- Merge horizontal cells are supported in the table.
Resolved Bugs
- HTML blocks can be rendered properly.
Minor Improvements
- Images from Internet can now use its actual size as the maximum size.
- The empty label of the image will be hidden.
Deprecations
- Lazy load is now deprecated.
Full Changelog: 0.1.0...0.2.0