Skip to content

Releases: M2mobi/Marky-Mark

Fix for list item spacing with dynamic type fonts

24 Jan 11:19
80d2597
Compare
Choose a tag to compare

This release makes sure the space between list-items is correctly rendered with large fonts

Dynamic type and short url's

23 Jan 13:23
efc9585
Compare
Choose a tag to compare

This release adds support for Dynamic Type in Swift. As you can see in the read me, it will be as simple as opt-ing in to font scaling by doing the following:

    markDownView.hasScalableFonts = true

It also allows setting a maximum font-size related to the font-scaling, such as:

        markDownView.styling.paragraphStyling.maximumPointSize = 24

Fixes bug with multiple link's that contain a title on the same line, such as

15 Apr 13:46
96903a6
Compare
Choose a tag to compare
  • Fixes bug with multiple link's that contain a title on the same line, such as
"[Google](https://www.google.com/ "great-url-title") test [Google](https://www.google.com/ "a11y title") and even more [[https://www.apple.com](https://www.apple.com](https://www.apple.com]%28https//www.apple.com) "Apple-aria-label") test"
  • Removes hardcoded Swift 4 version

Fix links that contain special characters in the aria-label

27 Jan 09:09
b7adfa0
Compare
Choose a tag to compare

Fix links that contain special characters in the aria-label

Fix links such as Alt text, which has a special character in the aria-label "Some-test"

Bugfix UrlOpener

20 Jul 06:18
e3f5ba8
Compare
Choose a tag to compare
  1. Since the last release, urlOpener was no longer working. This release fixes the issue.
  2. This issue improves the ListRule, allowing anywhere between 1 and 4 spaces after the * symbol

Support for title in link tags

06 Jan 14:32
0c6f2c1
Compare
Choose a tag to compare

Adds support for links like: [Google](http://www.google.com "custom title").

Also fixes a bug where detected rules inside a link would not be discarded correctly.
[Google](http://www.google.com/path_nested_italic_item_s) would appeared incorrectly.

Custom LayoutBlockBuilders on MarkdownTextView

12 Oct 13:08
Compare
Choose a tag to compare

Added feature on MarkdownTextView to add custom LayoutBlockBuilders.

i.e.

markdownTextView.addViewLayoutBlockBuilder(MyCustomLayoutBlockBuilder())
markdownTextView.addAttributedStringLayoutBlockBuilder(MyCustomLayoutBlockBuilder())

Swift Package Manager support

05 Feb 08:49
9318f7b
Compare
Choose a tag to compare

Resolves

Breaking changes

  • In order for URL handling to keep working (in some cases), func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool has to be implemented in AppDelegate

Notes

  • Since this release is only beneficial for SPM users, there's currently no CocoaPods version of this code (yet).

MarkDownTextView expose UITextView creation

20 Sep 14:57
Compare
Choose a tag to compare

Allow subclassing MarkDownTextView

25 Jul 12:05
Compare
Choose a tag to compare

Changed access of MarkdownTextView from public to open to allow subclassing