Skip to main content

Minimal bindings to GitHub's fork of cmark

Project description

Minimalist bindings to GitHub’s fork of cmark.

Installation

This package is published as cmarkgfm and can be installed with pip or pipenv:

pip install --user cmarkgfm
pipenv install cmarkgfm

Usage

High-level usage is really straightforward. To render normal CommonMark markdown:

..code-block:: python

import cmarkgfm

html = cmarkgfm.markdown_to_html(markdown_text)

To render GitHub-flavored markdown:

..code-block:: python

import cmarkgfm

html = cmarkgfm.markdown_to_html(markdown_text)

Contributing

Pull requests are welcome. :)

License

This project is under the MIT License. It includes components under differing copyright under the third_party directory in this source tree.

TODO

  • Setup automatic wheel building.

  • Add more tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmarkgfm-0.1.0.tar.gz (129.9 kB view details)

Uploaded Source

File details

Details for the file cmarkgfm-0.1.0.tar.gz.

File metadata

  • Download URL: cmarkgfm-0.1.0.tar.gz
  • Upload date:
  • Size: 129.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmarkgfm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 19db347acefac5c667dfa26c5a64dc991c6bf4129afa41c4799eb4b7df6b0bf2
MD5 2bca7948cc19f0f00f857e27b34f446e
BLAKE2b-256 ac5bf4782aed67ce8fa7f0bec570febcb041af9d5cfbe217507da1ef953114a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page