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.0a2.tar.gz (130.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cmarkgfm-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 a49e5b7bbbd88ece5c82b292bf0e24c469e29d969bd2aed89b79d6b4b507733d
MD5 800c0fe5f2310465a4a8ae837d6d5385
BLAKE2b-256 096f75d6cd3a6cc8f9bc4f3ae336174a892826f6ed68b76de015e78c5d73601b

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