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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file md4c-1.0.0.tar.gz.

File metadata

  • Download URL: md4c-1.0.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for md4c-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc6c6fea68e316b44831de8969306c52d3afff8f7b86c16e2e0a169896e21ac3
MD5 80ce36319b1191080ecfcf38eb8b0555
BLAKE2b-256 b0cf851f951f2789c2907f32c5bc61cb70bad336139e70d676c751d80f5dfde3

See more details on using hashes here.

File details

Details for the file md4c-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: md4c-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for md4c-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92976dbfee244665945086b97c1c640b40af52b7487d6b12a09bd1bb7c9f996e
MD5 5a9e8aa5b374b264b99f8141e88ab0b1
BLAKE2b-256 b30a9495433211689d77cf8d00253c0c57ee4f5735363c4e3341a38bfa6934c8

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