Skip to main content

The Procedures language

Reason this release was yanked:

Wrong packaging

Project description

Exposes two Rust crates which parse markdown to Python using PyO3. The first crate exposed is comrak from which we inherited the name:

Using Comrak

Example:

>>> from python_comrak import markdown_to_html
>>> markdown_to_html("\tfoo\tbaz\t\tbim\n")
"<pre><code>foo\tbaz\t\tbim\n</code></pre>\n"

markdown_to_html activates the extensions:

Using pulldown-cmark

The second crate is pulldown-cmark. Example:

>>> from python_comrak import commonmark_to_html
>>> commonmark_to_html("\tfoo\tbaz\t\tbim\n")
"<pre><code>foo\tbaz\t\tbim\n</code></pre>\n"

commonmark_to_html activates the extensions:

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_comrak-0.2.1-cp38-cp38-manylinux2010_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

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