Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

SwiftCommonMark 1.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@gonzalezreal gonzalezreal released this 08 Oct 11:06
· 5 commits to main since this release

Breaking changes:

  • Updated Document initializers.
  • Removed Document.applyingTransform(:) method.
  • Removed Document.imageURLs property.
  • Added argument labels to Block and Inline cases.
  • Block.list no longer uses the List type, which has been repurposed for multi-expression closures in @BlockArrayBuilder.
  • Item has been repurposed for multi-expression closures in @ItemArrayBuilder.
  • @BlockBuilder has been replaced by @BlockArrayBuilder.
  • @InlineBuilder has been replaced by @InlineArrayBuilder.
  • @ItemBuilder has been replaced by @ItemArrayBuilder.

New:

  • Added renderCommonMark() and renderHTML(options:) to Document, Block and Inline.
  • Added documentation for public APIs
  • Embedded cmark C library.