Skip to main content

Markdown parsing.

Project description

Bindings for the MD4C markdown parser.

Installing

pip3 install md4c

Usage

import md4c

parser = md4c.Html()

with open('some/doc.md') as file:
  data = file.read()

html = parser.get(data)

with open('some/index.html', 'w') as file:
  file.write(html)

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

md4c-1.0.0.tar.gz (8.6 kB view hashes)

Uploaded source

Built Distribution

md4c-1.0.0-py3-none-any.whl (10.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page