Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.

Files for mpiece, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size mpiece-0.2.3.tar.gz (21.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page