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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

md4c-0.1.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: md4c-0.1.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.1

File hashes

Hashes for md4c-0.1.3.tar.gz
Algorithm Hash digest
SHA256 80e4db13a1260aa65ee46af95a18b4f254e55c8dce0293cdce63f826a43c1ac7
MD5 c3fbbbf0d4dbc3285cf432e194f95e7e
BLAKE2b-256 2406e31b8f159107944e81ddd1a86a5f2e9e0632a77a39a58cb9b6f2a353192a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: md4c-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.1

File hashes

Hashes for md4c-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d154318aed9c955aae3c8aeeb6a0a20405366946ece3b6de6525d178d01065
MD5 635ac7a64e6bfdf673a30fb69024f5bf
BLAKE2b-256 69229fec6ce0c5cbb0cb80c1925793a5f990916035026c107db62b6b1f38e632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page