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
Release history Release notifications | RSS feed
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.4.1.tar.gz
(133.3 kB
view hashes)
Built Distributions
cmarkgfm-0.4.1-cp27-cp27m-win32.whl
(121.2 kB
view hashes)
Close
Hashes for cmarkgfm-0.4.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57fc9b5aca83ad2b10d2e2076aa8cba08cd7a0da00dec3f60237d2c40484d440 |
|
MD5 | aec7c3365c14627e8c9ee24d4e12300b |
|
BLAKE2b-256 | 41012f9a91dc63db13dec9ab1e7061de457d2bba00796fcb0331066ee89bcf59 |
Close
Hashes for cmarkgfm-0.4.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e40322397998c4065dab7c884bdd5553647b783fbaf55c4ea2688871b94ff00 |
|
MD5 | 67986fb718f62acb6ad687da065fe138 |
|
BLAKE2b-256 | bc67843db2c6f4c0e308c76e0be306bc9e792faf6ba2313f6658da779f423742 |
Close
Hashes for cmarkgfm-0.4.1-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 | b6938fc1dfa2ba50d5a1ebfb255269bdffa22ab5c382f0b09e67105eed1edd73 |
|
MD5 | 51c47131b94dfb6df17d6ae570692e7e |
|
BLAKE2b-256 | cc80314ce05dcf5dc9ce5878ce9c1abdf194f3b8a24aa0b50e03c4ff1f1ccd38 |
Close
Hashes for cmarkgfm-0.4.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080dd1e24063728562f6480500a190caa0aff2def29eb854dc17df1cd3ac7b41 |
|
MD5 | e1ff402c5692fad2f2f20dafa222585e |
|
BLAKE2b-256 | 02bbfd7722a10684ccc725fd028308f195503f4bdd530bf8444ea9b7d3941b79 |
Close
Hashes for cmarkgfm-0.4.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df422dc538b8af97be02c5d30b11bab0e0af7d112e4fe70a6c8ad1ae47e15fb8 |
|
MD5 | 5fe355178b3c3bafc7293aeb9aa57caf |
|
BLAKE2b-256 | 192da32aba0125c5773562d009e0242ef87bdb16758a148d22b30116e372b374 |
Close
Hashes for cmarkgfm-0.4.1-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 | d341b489b50001cf753af97b043a4ae2248b5fed56becef3922a0e1f179a7327 |
|
MD5 | 44c8b7be60c2a240c9ecafb344f3359b |
|
BLAKE2b-256 | d8f38aff05c07e3f5d68637b169e0872266d183ebc254f17b25e4862ed945f27 |
Close
Hashes for cmarkgfm-0.4.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 808c53de295530cf0ba06a905f64a1373417418426c585c8f808551be1551a2b |
|
MD5 | 55e2581df487e5f8dc855c089466a003 |
|
BLAKE2b-256 | fa13075e9aeefa226dbb62d4e7bdfdd251fe1eb9777cffc8c510f3e50dfd56ea |
Close
Hashes for cmarkgfm-0.4.1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caada3dd1e10e69423183a2c273acacad520007593e9703f98a2907dbb47a9d7 |
|
MD5 | 42288c98744afd451032a28063ace367 |
|
BLAKE2b-256 | 7f876891073f4634aac9aa2f7b0e05275f504cacd66985ab37ea6750df3942f5 |
Close
Hashes for cmarkgfm-0.4.1-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 | e624d86a39b8beffb2b17f9d3d510f9dcca83ca11b325b5a6f4b44bc55bc0fb3 |
|
MD5 | 0c1d7226c49e6984c8c72078f8625431 |
|
BLAKE2b-256 | 92994691149fd035a9cb541c2c15bb76b956591408544cda6fc520a1b929cd9f |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 369bc819346b4cbb201cd0a054a31f5544ce28af37a9313c98b012f6e0aaae99 |
|
MD5 | bbc8054443588f41ea62d27924a08f47 |
|
BLAKE2b-256 | 108ebf77badc1bd5a8cf9192d98de45bb4559878e1412fed57263a5b23d85e7f |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afdc322e47f0d163c37941efa7b705dc90fb2b79b2b4076d0276d3bc8b82da86 |
|
MD5 | 1cfd2d1300417724f31047e835db49b1 |
|
BLAKE2b-256 | 181b76f261938ced4ab85a54709add14f36f0dfbe530e984eb0bc827477120ef |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee0eaddfcff92cd7a4b1fbd1ab732c2b6d09fab50ee41e8bd63f1e9bc718b4c |
|
MD5 | 5f9b3ccbe9e9e71f89b2ff3ace2fa6f0 |
|
BLAKE2b-256 | 44dee21d9422ca0930ebc03f735c4b1f589b504e93b202f8d10c52892f972717 |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b37757e58610f1222ed867a9dcfb74f90f2191a2e7d89148a3e55503c75549 |
|
MD5 | cc5d9fae485ea81ea43dc5bfd1d879cc |
|
BLAKE2b-256 | 7186ab295ab9b661fc4db18a2ed6f6d0ebbe6b8cec3e4c19d70bd1b4206d28cb |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efaa69c961aaa295b4b4195ef5bc6b49efea8707de3b6bfc70f418e1e91b45da |
|
MD5 | 3279865b1fd7a6aa902b77c49fcbe078 |
|
BLAKE2b-256 | 032ec70eccfbcda1157ea0192383a704c4db618101f26ab2037cb61e78b0e01b |
Close
Hashes for cmarkgfm-0.4.1-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217ebc5612f81497f1a1dfe3e648a7405454aefec75dc009a9389a6bdf80790a |
|
MD5 | 87e326352a74c3d102d87c36c119dcb8 |
|
BLAKE2b-256 | 784847bd2769f5ae02f06b5046ebeeb1435e56b1823318eaef86bb4b43359332 |
Close
Hashes for cmarkgfm-0.4.1-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 | 22f9e81b0877954373b4a54890218b936be785d5a9143851d4076493ec84358a |
|
MD5 | d37637187e2c38d2ed576efa9dee028c |
|
BLAKE2b-256 | 8f63e38ee81262daf4d38a6abc330044dda54fea89f6b035eb9473cadb42f477 |