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

Wheels are provided for macOS, Linux, and Windows for Python 2.7, 3.4, 3.5, and 3.6.

Usage

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

import cmarkgfm

html = cmarkgfm.markdown_to_html(markdown_text)

To render GitHub-flavored markdown:

import cmarkgfm

html = cmarkgfm.github_flavored_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.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cmarkgfm-0.4.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (241.4 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27m-manylinux1_i686.whl (146.3 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27m-manylinux1_x86_64.whl (148.8 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27mu-manylinux1_i686.whl (146.3 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27mu-manylinux1_x86_64.whl (148.8 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27m-win32.whl (121.3 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp27-cp27m-win_amd64.whl (120.5 kB) Copy SHA256 hash SHA256 Wheel cp27
cmarkgfm-0.4.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (241.5 kB) Copy SHA256 hash SHA256 Wheel cp34
cmarkgfm-0.4.2-cp34-cp34m-manylinux1_i686.whl (146.3 kB) Copy SHA256 hash SHA256 Wheel cp34
cmarkgfm-0.4.2-cp34-cp34m-manylinux1_x86_64.whl (148.9 kB) Copy SHA256 hash SHA256 Wheel cp34
cmarkgfm-0.4.2-cp34-cp34m-win32.whl (121.2 kB) Copy SHA256 hash SHA256 Wheel cp34
cmarkgfm-0.4.2-cp34-cp34m-win_amd64.whl (120.4 kB) Copy SHA256 hash SHA256 Wheel cp34
cmarkgfm-0.4.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (241.5 kB) Copy SHA256 hash SHA256 Wheel cp35
cmarkgfm-0.4.2-cp35-cp35m-manylinux1_i686.whl (146.3 kB) Copy SHA256 hash SHA256 Wheel cp35
cmarkgfm-0.4.2-cp35-cp35m-manylinux1_x86_64.whl (148.9 kB) Copy SHA256 hash SHA256 Wheel cp35
cmarkgfm-0.4.2-cp35-cp35m-win32.whl (115.1 kB) Copy SHA256 hash SHA256 Wheel cp35
cmarkgfm-0.4.2-cp35-cp35m-win_amd64.whl (128.3 kB) Copy SHA256 hash SHA256 Wheel cp35
cmarkgfm-0.4.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (241.5 kB) Copy SHA256 hash SHA256 Wheel cp36
cmarkgfm-0.4.2-cp36-cp36m-manylinux1_i686.whl (146.3 kB) Copy SHA256 hash SHA256 Wheel cp36
cmarkgfm-0.4.2-cp36-cp36m-manylinux1_x86_64.whl (148.9 kB) Copy SHA256 hash SHA256 Wheel cp36
cmarkgfm-0.4.2-cp36-cp36m-win32.whl (115.1 kB) Copy SHA256 hash SHA256 Wheel cp36
cmarkgfm-0.4.2-cp36-cp36m-win_amd64.whl (128.3 kB) Copy SHA256 hash SHA256 Wheel cp36
cmarkgfm-0.4.2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (241.5 kB) Copy SHA256 hash SHA256 Wheel cp37
cmarkgfm-0.4.2-cp37-cp37m-manylinux1_i686.whl (144.9 kB) Copy SHA256 hash SHA256 Wheel cp37
cmarkgfm-0.4.2-cp37-cp37m-manylinux1_x86_64.whl (147.5 kB) Copy SHA256 hash SHA256 Wheel cp37
cmarkgfm-0.4.2-cp37-cp37m-win32.whl (115.1 kB) Copy SHA256 hash SHA256 Wheel cp37
cmarkgfm-0.4.2-cp37-cp37m-win_amd64.whl (128.3 kB) Copy SHA256 hash SHA256 Wheel cp37
cmarkgfm-0.4.2.tar.gz (133.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page