TSMarkdownParser
TSMarkdownParser copied to clipboard
We are moving away from cocoa pods to spm. So we need a Package.swift in here. Can you guys create a release with the Package.swift file in the tag?
Right now the bullet point character is set to a fixed "•\t". I would suggest to use a public variable here so other bullet points could be used.
In Markdown, paragraphs are separated by *two* line breaks. Two spaces at the end of a line produces a newline (or rather a `` tag in HTML) For example (I've...
Fixes the rendering of nested lists: https://github.com/laptobbe/TSMarkdownParser/issues/72 Adds rendering of ~~strikethrough~~.
The following markdown doesn't render correctly. ``` - 1 - 1.1 - 2 ``` - 1 - 1.1 - 2 The regular expression needs updating, so I'll submit a pull...
As of swift and objc `NSAttributedStringKey` differences, there it is typedef of NSString for Obj-C and struct not subclassed from String in swift. Just declaring explicitly required type will allow...
> ``` > - WARN | [tvOS] xcodebuild: TSMarkdownParser/TSMarkdownParser/TSMarkdownParser.m:253:77: warning: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in tvOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and...
Hi, we're using this library for an appleTV app and pointing directly to the latest commit of the repo to be using the latest improvements like this: https://github.com/laptobbe/TSMarkdownParser/commit/01be140cb88d903b46d73cc883c93263cf128776 Are you...
The following code works on 10.11 - 10.13 but crashes in 10.10. Any thoughts? ``` let attrDescription = TSMarkdownParser.standard().attributedString(fromMarkdown: content.jssDescription ?? "", attributes: [NSForegroundColorAttributeName : NSColor.descriptionTextColor()]) descriptionLabel.textStorage?.setAttributedString(attrDescription) ``` I'm attaching...