JohnSundell Ink Versions Save

A fast and flexible Markdown parser written in Swift.

0.6.0

1 year ago

This new version of Ink is long overdue (very sorry about that!) and includes some great fixes by the community:

0.5.1

3 years ago

Ink now supports Swift 5.4, while still maintaining backward compatibility with 5.3 and 5.2.

0.5.0

3 years ago

Ink now ships with support for Markdown tables - including headers, column alignment, and balancing of cells. Thanks a lot to @christiankm and @john-mueller for their work on this.

0.4.0

4 years ago

Pre-escaped HTML entities (such as &) are now left as-is, rather than being double-escaped.

0.3.0

4 years ago

Metadata keys and values can now be modified using the .metadataKeys and .metadataValues modifier targets, which makes it easier to integrate Ink (and tools written on top of it, like Publish) with existing Markdown metadata.

0.2.0

4 years ago
  • Code blocks can now have an exceeding number of closing backtick markers (by @steve-h).
  • Code block language strings are now trimmed (by @steve-h).
  • The CSS class assigned to a code block now has the prefix language- (by @john-mueller).
  • If a line ends with two spaces that's now treated as a hard line break (by @ezfe).
  • The Ink CLI tool has been improved to accept stdin input and has better usage info (by @john-mueller).
  • The Markdown value that's returned from MarkdownParser.parse now has a title property, which matches the first top-level heading found in the Markdown text.
  • Self-closing tags are now inline with HTML, rather than XML (by @steve-h).
  • String parsing terminators are now successfully ignored when escaped (by @JoaoPinheiro).

0.1.3

4 years ago
  • Unordered list items can now be defined using + (by @ezfe).
  • Ordered lists can now be defined using 1) (by @ezfe).
  • Improved CommonMark compatibility for lists (by @ezfe).
  • Xcode is now able to fully parse Ink's code-level documentation.
  • URL references are now case-insensitive (by @ezfe).
  • Trailing markers (#) are now trimmed from headings.

0.1.2

4 years ago
  • The ink command line tool now accepts STDIN input by passing - as a single argument (by @bamx23)
  • HTML comments are now parsed correctly.
  • Fixed that unterminated links at the end of a file could cause a crash (by @john-mueller)

0.1.1

4 years ago

This version addresses Linux compatibility issues in the unit testing suite.

0.1.0

4 years ago

Initial release of Ink.