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.

Files for cmarkgfm, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size 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) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27m-manylinux1_i686.whl (146.3 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27m-manylinux1_x86_64.whl (148.8 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27mu-manylinux1_i686.whl (146.3 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27mu-manylinux1_x86_64.whl (148.8 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27m-win32.whl (121.3 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp27-cp27m-win_amd64.whl (120.5 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size 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) File type Wheel Python version cp34 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp34-cp34m-manylinux1_i686.whl (146.3 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp34-cp34m-manylinux1_x86_64.whl (148.9 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp34-cp34m-win32.whl (121.2 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp34-cp34m-win_amd64.whl (120.4 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size 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) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp35-cp35m-manylinux1_i686.whl (146.3 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp35-cp35m-manylinux1_x86_64.whl (148.9 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp35-cp35m-win32.whl (115.1 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp35-cp35m-win_amd64.whl (128.3 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size 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) File type Wheel Python version cp36 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp36-cp36m-manylinux1_i686.whl (146.3 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp36-cp36m-manylinux1_x86_64.whl (148.9 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp36-cp36m-win32.whl (115.1 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp36-cp36m-win_amd64.whl (128.3 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size 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) File type Wheel Python version cp37 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp37-cp37m-manylinux1_i686.whl (144.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp37-cp37m-manylinux1_x86_64.whl (147.5 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp37-cp37m-win32.whl (115.1 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size cmarkgfm-0.4.2-cp37-cp37m-win_amd64.whl (128.3 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size cmarkgfm-0.4.2.tar.gz (133.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page