Releases: calebkleveter/SwiftMark
v1.4.0
v1.3.0
Only Inline
There is now an additional method for the MarkdownRenderer
which strips out all styles except those that are inline.
Example:
let mdr = MarkdownRenderer()
let html = try mdr.text(from: String)
v1.2.2
Reflastorizing!
The Lexer and Parser have both been refactored to be much simpler.
The regex for hr
tags has also been fixed.
v1.2.0
Stable!
SwiftMark should be stable and ready to use now! The plan is to start adding GFM features.
Please file any bugs you find!
v1.1.2
Parser rewrite
The internals of the token parser have been rewritten to fix some odd and annoying bugs (such as text being out of order).
The capture token for the code block regex has also been fixed.
v1.1.1
Code block whitespace
Fixed the whitespace identifiers in the regex for the code blocks.
v1.1.0
Break tags
Break tags are now in order. They might not work in all cases, so report a bug if you find one.
Example
Text
More text
This would render to:
<p>Text</p><br><p>More text</p>
v1.0.0
Renaming complete
SwiftDown has now been renamed to SwiftMark. This is due to some advice by some great people.
v0.2.2
Fixed build on Linux
Linux uses RegularExpression
instead of NSRegularExpression
.
~$ sudo travis fix-build --linux
Finding error(s)...
Errors found: 1
Fixing error(s)...
Error(s) fixed:
- Set typealias for RegularExpression to NSRegularExpression
v0.2.1
See release for 0.2.2