Swift Package Index

cmark

https://github.com/brokenhandsio/cmark-gfm.git

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


Compatibility

  • 2.0.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 2.0.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

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")
]