MarkdownView

Rendering Markdown text natively in SwiftUI.

MIT License

Stars
170
Committers
5

Bot releases are visible (Hide)

MarkdownView - 1.6.0 Latest Release

Published by LiYanan2004 5 months ago

What's Changed

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/1.5.0...1.6.0

MarkdownView - 1.5.0

Published by LiYanan2004 about 1 year ago

What's Changed

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: https://github.com/LiYanan2004/MarkdownView/compare/1.4.0...1.5.0

MarkdownView - 1.4.0

Published by LiYanan2004 over 1 year ago

What's Changed

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/1.3.0...1.4.0

MarkdownView - 1.3.0

Published by LiYanan2004 over 1 year ago

What's Changed

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/1.2.0...1.3.0

MarkdownView - 1.2.0

Published by LiYanan2004 over 1 year ago

What's Changed

🥳 Now, you can add MarkdownView package using a specific version.

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/1.1.0...1.2.0

MarkdownView - 1.1.0

Published by LiYanan2004 over 1 year ago

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: https://github.com/LiYanan2004/MarkdownView/compare/1.0.0...1.1.0

MarkdownView - 1.0.0

Published by LiYanan2004 over 1 year ago

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.

MarkdownView - 1.0.0-rc2

Published by LiYanan2004 over 1 year ago

Fix an issue where SVG titles were not displayed

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/1.0.0-rc...1.0.0-rc2

MarkdownView - 1.0.0-rc

Published by LiYanan2004 over 1 year ago

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 use WKWebView to render SVG content.

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/0.2.0...1.0.0-rc

MarkdownView - 0.2.0

Published by LiYanan2004 about 2 years ago

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: https://github.com/LiYanan2004/MarkdownView/compare/0.1.0...0.2.0

MarkdownView - 0.1.0

Published by LiYanan2004 about 2 years ago

What's New:

Fixed: Crash when rendering empty text.

Full Changelog: https://github.com/LiYanan2004/MarkdownView/compare/0.0.7...0.1.0

MarkdownView - v0.1-alpha

Published by LiYanan2004 about 2 years ago

A Markdown Renderer in SwiftUI

We have added all the components that defined in CommonMark Spec.

For Example:

  • Bold
  • Italic
  • Underline
  • Strike through
  • Images
  • Links
  • Lists
    • Ordered lists
    • Unordered lists
    • Todo lists(lists with Check Boxes)
  • Tables
  • Blocks
  • And lots of customizable modifier and handlers

If you find a bug, please file an issue.😃