The cmark-gfm package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Warnings:

This package provides Haskell bindings for libcmark-gfm, the reference parser for GitHub Flavored Markdown, a fully specified variant of Markdown. It includes sources for libcmark-gfm (0.28.0) and does not require prior installation of the C library.


[Skip to ReadMe]

Properties

Versions0.1.0, 0.1.1, 0.1.2, 0.1.2, 0.1.3
Change logchangelog
Dependenciesbase (>=4.5 && <5.0), bytestring, ghc-prim (>=0.2), text (>=1.0 && <1.3) [details]
LicenseBSD3
Copyright(C) 2015--17 John MacFarlane, (C) 2017 Yuki Izumi
AuthorYuki Izumi
Maintainerkivikakk@github.com
CategoryText
Home pagehttps://github.com/kivikakk/cmark-gfm-hs
Source repositoryhead: git clone git://github.com/kivikakk/cmark-gfm-hs.git
UploadedWed Aug 9 06:35:40 UTC 2017 by kivikakk

Modules

[Index]

Flags

NameDescriptionDefaultType
pkgconfig

Use system libcmark-gfm via pkgconfig

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for cmark-gfm-0.1.2

cmark-gfm-hs

This package provides Haskell bindings for libcmark-gfm, the reference parser for GitHub Flavored Markdown, a fully specified variant of Markdown. It includes sources for libcmark-gfm and does not require prior installation of the C library.

cmark provides the following advantages over existing Markdown libraries for Haskell:

cmark does not provide Haskell versions of the whole libcmark-gfm API, which is built around mutable cmark_node objects. Instead, it provides functions for converting CommonMark to HTML (and other formats), and a function for converting CommonMark to a Node tree that can be processed further using Haskell.

A note on security: This library does not attempt to sanitize HTML output. We recommend using xss-sanitize to filter the output, or enabling optSafe to filter out all raw HTML and potentially dangerous URLs.

A note on stability: There is a good chance the API will change significantly after this early release.