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.3.0.tar.gz (130.8 kB view details)

Uploaded Source

Built Distributions

cmarkgfm-0.3.0-cp36-cp36m-win_amd64.whl (129.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

cmarkgfm-0.3.0-cp36-cp36m-win32.whl (116.2 kB view details)

Uploaded CPython 3.6m Windows x86

cmarkgfm-0.3.0-cp36-cp36m-manylinux1_x86_64.whl (148.7 kB view details)

Uploaded CPython 3.6m

cmarkgfm-0.3.0-cp36-cp36m-manylinux1_i686.whl (146.1 kB view details)

Uploaded CPython 3.6m

cmarkgfm-0.3.0-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 (242.7 kB view details)

Uploaded CPython 3.6m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

cmarkgfm-0.3.0-cp35-cp35m-win_amd64.whl (129.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

cmarkgfm-0.3.0-cp35-cp35m-win32.whl (116.2 kB view details)

Uploaded CPython 3.5m Windows x86

cmarkgfm-0.3.0-cp35-cp35m-manylinux1_x86_64.whl (148.7 kB view details)

Uploaded CPython 3.5m

cmarkgfm-0.3.0-cp35-cp35m-manylinux1_i686.whl (146.1 kB view details)

Uploaded CPython 3.5m

cmarkgfm-0.3.0-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 (242.7 kB view details)

Uploaded CPython 3.5m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

cmarkgfm-0.3.0-cp34-cp34m-manylinux1_x86_64.whl (148.7 kB view details)

Uploaded CPython 3.4m

cmarkgfm-0.3.0-cp34-cp34m-manylinux1_i686.whl (146.1 kB view details)

Uploaded CPython 3.4m

cmarkgfm-0.3.0-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 (242.7 kB view details)

Uploaded CPython 3.4m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl (148.6 kB view details)

Uploaded CPython 2.7mu

cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_i686.whl (146.1 kB view details)

Uploaded CPython 2.7mu

cmarkgfm-0.3.0-cp27-cp27m-win_amd64.whl (121.7 kB view details)

Uploaded CPython 2.7m Windows x86-64

cmarkgfm-0.3.0-cp27-cp27m-win32.whl (122.4 kB view details)

Uploaded CPython 2.7m Windows x86

cmarkgfm-0.3.0-cp27-cp27m-manylinux1_x86_64.whl (148.6 kB view details)

Uploaded CPython 2.7m

cmarkgfm-0.3.0-cp27-cp27m-manylinux1_i686.whl (146.1 kB view details)

Uploaded CPython 2.7m

cmarkgfm-0.3.0-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 (242.6 kB view details)

Uploaded CPython 2.7m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for cmarkgfm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 84465f6534f49687f1a8069d48044799d2dd3f4e7ff06b66b7eea1502f3c402d
MD5 e81e9cce01f613d3826993f8b7c2a149
BLAKE2b-256 81f2ab7a1d37ea41eeefe10d63bb2334af904958d31d29e7a7964e66e9679724

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 631d9be3f7059d1d58b5a500e01b04b3f95e42e0db2a6347b324908d53bf69ec
MD5 1a7f085f23ddb10b99694dfc4aa81bea
BLAKE2b-256 84ff9555519dbbdebc7be882afebbc3ab818b86444ddae181e3d70910d029c10

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a3efd43141f75081b9a37ceba211c7436aff70c5c3434021cc96310db43127cd
MD5 98b1362264bfda807beb35b7d93465e7
BLAKE2b-256 542bc2cd10c3e3b00d9b087501f6746bd9f57d24af32147f84a998c4e978b7a9

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 78d423d191e04b921dff9416260f3d36d0fad91ae6d7cca517d6b238d3dc9d4f
MD5 507a66c273655bf7bea6770c4516433c
BLAKE2b-256 4a1d0da2697b62a529678a2a01e44e56138e338311f6e957815674b7f15ac403

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 df4d30cf9a5bc057ebf5cef20a600aabc5ec16d2576c044e4159610833387b3b
MD5 f8ffe95e5ac713f8b95736bd6b745e1f
BLAKE2b-256 301c3a5b0c9942cad2f48dbc5808e5aea1d14291b0123b69c26dba8655f5ffad

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-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.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-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
Algorithm Hash digest
SHA256 390866aeef7d13c2df435ecc400f23d0e0321841ec8ea4b065a71ab36f1f95ac
MD5 b9948a85e71d5c68d07a99e97f5fe287
BLAKE2b-256 3690b78b61fbfef429d2b13fe1f5e2c08faf2f63853dfc9762f839434785bd8c

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 3700e5a663e17f2e7f9906f95a4698d8723c774cfd9134b3d8f823d632b2ccd0
MD5 913d550ad89136b9046d2328ad225cd4
BLAKE2b-256 acdbb34f11b3bbe58db5011a7928c4e942def42ef238651b9552c84c241973c2

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 95c481ca59d6cc50f9bc61382b6acb3c2533577e686daf9ba5c002c109d4c071
MD5 e723600f7de82211bc0cccd6c6327c77
BLAKE2b-256 124fea928000922a6861849097c4d0109c221a163cbe8f4511d53b2996b573a6

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 30382767e92ffafda0ae51a285d37d5d3a66b8cfe748b0319295f12a30a459e7
MD5 9774992588bb0168c3de53faea2612a6
BLAKE2b-256 76ac2754f0b9145bff474059a2f6535b84d9d194c47aae4dcbda8e668988c9d1

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1ee21b9d7c75c856c556b35deb8a9b9f25a574a0fb4bde1f085ac73aef93a05f
MD5 d683c67e1b3cd2cd2bc76bf78d845887
BLAKE2b-256 3550915fcf4acb2b1df742b203750061b36814e28caebcb8e32a8d8bfcd7a50e

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-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.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-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
Algorithm Hash digest
SHA256 be50342f3ed185e37519a99b04c210c5e95b6e708546b42a76bbc21fc9fc8041
MD5 5e0a4d50e2a2efcb3d0798dd1b0a3f80
BLAKE2b-256 757b9a60dd571dfce15fe4d0f1c6c90d6321135e74352908435a84596238d842

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7a80b1d9ba38a22705c647592c3a1d31f2a7e721d89e1cc1d142d18fd5c60aae
MD5 471c123adc87e9c1722928768d240bf7
BLAKE2b-256 9a2a74ee8a2b7b7f99bb7675b29c9b050d958291097ed5f9f6a8a81ea336b4ff

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d8df98f45e828312eb58d772c3783dcbbbc237343804a6a6be9a756568938cad
MD5 32abfa020e29828b083e797ce39ebe3f
BLAKE2b-256 2341d9e28e724a6ad50f2c4fca0451461805354631907456644295d4261e5d4c

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-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.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-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
Algorithm Hash digest
SHA256 d771a3509cb7f757af91f7f5269302dadffb210ed89934a35730a8ebb281ba8e
MD5 61d7364019b34edb2ed6b7fdc2fad776
BLAKE2b-256 5eca53359424727d9e75c7f0cd226777bdc7b22b20b83e4d71c7b9accd3c42ee

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4799cdc86af15466622fdc2088796e4ecaf6c6b9257d75e4826dfe4083152f7d
MD5 a8395b2b06c356db81cc3fb4c8b436a1
BLAKE2b-256 ba1a5dc44a145158649a1fa417e07ae732f7abfd82d4deeac0b45052e3b7b204

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 00d036bcc4cd64a3939e94030423347a64c3ace288eb80f8763309ad3f38c036
MD5 e9d38e3683225e2a10c27d1d9f770b0f
BLAKE2b-256 3f3512f4f8b42549d9709d2d766663bf377e975e922fc8250cab18e3436d2c0d

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 780253398fa38f6c41e6bcc85426e76b108f8ee4c4b744bd1cb0422bea633d65
MD5 75c13a661620e91676dcddcfabaa1c9c
BLAKE2b-256 e4008e72a9e2174ca00dba33176ecbbc12a77c5fb44dc7edd98f5d8bf2b13df6

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 eaa804fa3fd8bbccdf27fb9bbed2fe8292e38c464cba40b2e529903710ae2f51
MD5 34312e7f869a24b42797ca4810e759f9
BLAKE2b-256 40e60cffb38c79c3e60cdd8a93a89fb49449fabd9be0d394ff38e9dc93b60392

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2e9f99bd9360ac662f790a08b7573914b61f0cf7e3b54edffca8bcca0b3a2399
MD5 c0fee2f402dd2e00a5ee70bff1d0ac1a
BLAKE2b-256 0ca12202836642d8cb70d2cb70b5b26a08273c03c3a9d0710181e34f93030329

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1527fc5eadb239ee21dd7d1d19951168e5d4e87a8259b2c02a3739f28eda7376
MD5 782ae82ec3e5a41b0905d05947a8b83c
BLAKE2b-256 45eb301dd3eec725e1b42a50c303d68c3bf881a56649645cfc28b8d83e792aba

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.3.0-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.

File metadata

File hashes

Hashes for cmarkgfm-0.3.0-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
Algorithm Hash digest
SHA256 5b261f170cfdbd8dcb40db7fd54c41ca9105506be07b30e29b40446d604401db
MD5 74c3f8579a08937f2fdac5f611671646
BLAKE2b-256 2d83a7985b839b43675b390da1b4f67649b5fc00da17070c96a99fb3c25511b2

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