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

Uploaded Source

Built Distributions

cmarkgfm-0.2.0-cp36-cp36m-win_amd64.whl (129.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

cmarkgfm-0.2.0-cp36-cp36m-win32.whl (116.1 kB view details)

Uploaded CPython 3.6m Windows x86

cmarkgfm-0.2.0-cp36-cp36m-manylinux1_x86_64.whl (148.6 kB view details)

Uploaded CPython 3.6m

cmarkgfm-0.2.0-cp36-cp36m-manylinux1_i686.whl (146.0 kB view details)

Uploaded CPython 3.6m

cmarkgfm-0.2.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.6 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.2.0-cp35-cp35m-win_amd64.whl (129.3 kB view details)

Uploaded CPython 3.5m Windows x86-64

cmarkgfm-0.2.0-cp35-cp35m-win32.whl (116.1 kB view details)

Uploaded CPython 3.5m Windows x86

cmarkgfm-0.2.0-cp35-cp35m-manylinux1_x86_64.whl (148.6 kB view details)

Uploaded CPython 3.5m

cmarkgfm-0.2.0-cp35-cp35m-manylinux1_i686.whl (146.0 kB view details)

Uploaded CPython 3.5m

cmarkgfm-0.2.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.6 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.2.0-cp34-cp34m-manylinux1_x86_64.whl (148.6 kB view details)

Uploaded CPython 3.4m

cmarkgfm-0.2.0-cp34-cp34m-manylinux1_i686.whl (146.0 kB view details)

Uploaded CPython 3.4m

cmarkgfm-0.2.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.6 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.2.0-cp27-cp27mu-manylinux1_x86_64.whl (148.5 kB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

cmarkgfm-0.2.0-cp27-cp27m-manylinux1_x86_64.whl (148.5 kB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

cmarkgfm-0.2.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.5 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.2.0.tar.gz.

File metadata

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

File hashes

Hashes for cmarkgfm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4286b9b2f70052c170ac0de3d4bd2f2e691227781e5104494673b8bb84807188
MD5 f5267aeef63418b73c382460e9594c3c
BLAKE2b-256 702605b602cd72e79e1bd8145a0f77dc314728974de6b49134fd1f967c5cdec4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 eabf114a2e3afedea9914b7fc74f9a228ddde0714423becbdaeb3f01e64e2fa5
MD5 185215ee881c2aa2a43b82a290665a54
BLAKE2b-256 f2782626269c4b6992dc4d711583358fc4ef006490222bcd633ee3f7ec31642e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9f9c62131a66bd5c4c95fd5e749d8665334544b9e1e9d63bd6680831dbc6a095
MD5 3788081403a97a73836cf188e2e96aad
BLAKE2b-256 b9cddb2a4e2eeb2636fc2e3b5f37da2462250a2663e96796db33b6dedf7d5548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a521b49e5cd86eb59046d8df2a165d78fe753b18c27bc49ea235a8a57987390e
MD5 cbfe5a4bd38fdfe98029b1350cc9adc1
BLAKE2b-256 e88554211a75755f5ea64e76e176bf499beb004cd0bcd052bd59f8a7b424b55c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c3305200e32ed5b9f4453f9e0487ded47551ebb12628b9f2baff131b3da83293
MD5 625f905c46947b428fbe5052a1dc5b63
BLAKE2b-256 ed490facff8b7eeddb758511254dc322cbfbad16587b6cd53a2d057f9a4de94d

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.2.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.2.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 719b8f25fdd630b2afaa7cf658cf966b7484361fbab0497d8272091a0c9fdec0
MD5 dbe66ea1e55d66f5af714eb91981ae28
BLAKE2b-256 47c7d97a0f960921a6e2962923acec80a23cc817ce98907f06336ba1a9ab7100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 165a7df14dc377eec06eedf167e75c55a23c6b0f61ad95ce51f76722b8b0ed4e
MD5 95d2c8b03927254f7da4044a093b17ae
BLAKE2b-256 0f6207e0e33faeed28545a7046db8e1c826f13636156b7a1499777ba86b2c482

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b3fab01ad4f45a594bfc01b15f9ea06c4a4e93f1f126c3f796063cff4ebfc4d5
MD5 a3cc940ff7c953063b74fb3968df516e
BLAKE2b-256 56480d41a943c8aa2567e2c4f4928cbe1221fbf59b22cd93c39b1fa0c2a06edd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e7777732aebbcc1f24930c1c93b20845842e1c6448a040c92afc82f1fd0d3d44
MD5 420920028100c4c4c24e028ef699721c
BLAKE2b-256 e2f1ef0ab29f62519910ea5695f95445b9faabb62d1d0fc6095b033fa30ae315

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2828c3c4a6d8dd262b17c388868bb5e576a78f5c00c86640762b89d4bd3e5ef8
MD5 0d84065f0912304f75c2a76a040d7aba
BLAKE2b-256 2fb26467d6977809c6f2189372584a13ba84b175bf63a5ce4a347c7050ff5e26

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.2.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.2.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 5fff97c462140906570d7862f8a4fff53b371cdf507bed0730ccf2d8c816bad9
MD5 f4ff8f730f059cf3219f99e25f0b6007
BLAKE2b-256 059ba8f08fb3609be15ecac6c1675d3ef974fb8b006fda91785e2c7cdc994fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 553fd9a852489c598237f81b34d53b9c53123026c71b7dac1fb4f7a8852093de
MD5 d8e52658931ce96754cba123e794d610
BLAKE2b-256 71d7e363b9e3d372ed942f1de73ff26c89d893d189de8818a9cb63c10fa0c914

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 777937585ebe70ce686397d1c16ceee3ca262916e0a8c410e24eaf93daa6044b
MD5 aa82b0855e5f2991d16cb1662d51d845
BLAKE2b-256 c04291839fa2bb3e7468df35cd5dae8efed20b4e9884a38e937847df0ee65dbb

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.2.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.2.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 6110695d2abd616584bc84ea023a42281cc1d4961f6089bb2ba2f7f5abad3190
MD5 0a445290f1aa30b3a43fbbd3da0e8a18
BLAKE2b-256 58e246256980934e51309f7699d51acd4a726ac5c87f253aedec840975e2ab72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d26489ae580930c1ebbc668adfd71220b9c7da80b475e0be1da297be36acc04f
MD5 a1d18766ab243fd438e792779f00acc4
BLAKE2b-256 02ee713c8aeec50b1ae7b53c8fb1e421d3aec63c2561f5babb0efdbc8fc2addf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b97907bfca3964f982139f9b428b2fddfcd2288c76983ce579edb04f223e3cce
MD5 2cd22d0b25363f96c1e5d267131e377c
BLAKE2b-256 07be82ba1d4e7457c01b4aa39b7b664337ec3ff5f577518efceb23c9be261be8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5dbbeec0fbbea760e8a1a9452d08b6d457c44070f23cfe3a28d5f66c61bf49e6
MD5 e43986d4f3bbaae12568b748e2ab83ba
BLAKE2b-256 974193e7886ef7e1e0a96f0934ab8af3d96daf7aaf02720357ad898233c47ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmarkgfm-0.2.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7f9e9c54efab08f20ae5756a80a42f17ffe8a79a07074d61c815c8ea40d78992
MD5 3eae7122f31711787328c76ba4d1f641
BLAKE2b-256 a44febe77466f18f83f17a7f74185369c24b04feb53773972a6a80b4bc2ce580

See more details on using hashes here.

File details

Details for the file cmarkgfm-0.2.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.2.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 4fa7eb97a3dcbc35e0a760938c4be869a0566699e4b08ed0534d4152d4d7bc88
MD5 6086715b6ccfa4c8b6516c8f661e4e34
BLAKE2b-256 72fea955e972e3275d01f0a3212de521068395e4fdab8c12bc3e701f9cee973a

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