cmark

2.1.0

A SwiftPM wrapper around GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C
brokenhandsio/cmark-gfm

What's New

Better memory management

2021-03-05T14:12:56Z

This release resolves a memory leak when using cmark_markdown_to_html by providing a new API cmark_gfm_markdown_to_html that controls the extensions and releases correctly.

Note: cmark_parse_document no longer manually adds the extensions - you should do this yourself and release them when finished

cmark (Github Flavoured Markdown)

Language Build Status GitHub license

cmark-gfm is an SwiftPM-compatible fork of Github's implementation of the CommonMark library. Github's fork adds GitHub Flavoured Markdown extensions to the upstream implementation, as defined in the spec.

For more information, see the Github cmark repository.


Building

To build this repository, just run:

swift build

Using

To use this repository, add it to your Package.swift manifest:

dependencies: [
    ...,
    .package(url: "https://github.com/brokenhandsio/cmark-gfm.git", from: "2.0.0")
]

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Apr 23 2024 02:49:30 GMT-0900 (Hawaii-Aleutian Daylight Time)