Skip to main content

Customizable and fast Markdown parser in pure Python

Project description

Fast and very customizable markdown parser in pure Python.

Features

  • Pure Python. Tested in Python 2.7+, Python 3.3+ and PyPy.

  • Very fast.

  • Customizable. You can add new markdown grammar and modify the output.

  • More. Table, footnotes, fenced code.

Install

Installing mpiece with pip:

$ pip install mpiece

Basic Usage

from mpiece import markdown

md_text = "**Hello world!!!**"
result = markdown(md_text)

print(result)
# output: <p><strong>Hello world!!!</strong></p>

Documentation

Official documentation

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

mpiece-0.2.1.tar.gz (18.5 kB view details)

Uploaded Source

File details

Details for the file mpiece-0.2.1.tar.gz.

File metadata

  • Download URL: mpiece-0.2.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mpiece-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9052bdcbb3fbad114e47b3d68fdd1b6cd78160d304e78f1381e70a2556b0deb7
MD5 5cac29f583068a9db4cfa380d36a76c4
BLAKE2b-256 59c5162dee07af34433a81ce3fee09371dcba2f178b17d2f277ca3531e187b18

See more details on using hashes here.

Provenance

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