Skip to content

Releases: calebkleveter/SwiftMark

v1.4.0

11 Jul 22:12
Compare
Choose a tag to compare

Parser Rewrite

The Parser has been rewritten to create an AST (abstract syntax tree), which is then passed to the renderer to be converted to HTML.

This has a working test suite, so it should be fully functional.

Note: The tests use Swift 4.

v1.3.0

04 May 17:01
Compare
Choose a tag to compare

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

03 May 20:36
Compare
Choose a tag to compare

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

01 May 19:52
Compare
Choose a tag to compare

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

27 Apr 16:43
Compare
Choose a tag to compare

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

27 Apr 16:41
Compare
Choose a tag to compare

Code block whitespace

Fixed the whitespace identifiers in the regex for the code blocks.

v1.1.0

29 Mar 15:31
Compare
Choose a tag to compare

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

24 Mar 16:39
Compare
Choose a tag to compare

Renaming complete

SwiftDown has now been renamed to SwiftMark. This is due to some advice by some great people.

v0.2.2

24 Mar 16:37
Compare
Choose a tag to compare

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

24 Mar 16:34
Compare
Choose a tag to compare

See release for 0.2.2