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
Breaking changes:
- Updated
Document
initializers. - Removed
Document.applyingTransform(:)
method. - Removed
Document.imageURLs
property. - Added argument labels to
Block
andInline
cases. Block.list
no longer uses theList
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()
andrenderHTML(options:)
toDocument
,Block
andInline
. - Added documentation for public APIs
- Embedded cmark C library.