Skip to main content

Markdown extensions

Project description

README

Extra third party extensions for Python-Markdown

Install

  $ pip install md_ext

Usage

import markdown

data = "![alt](image.png){width=600}"
md = markdown.Markdown(extensions=['md_ext.img'])
html = md.convert(data)
print(html)

Output:

'<p><img src="image.png" width="600" /></p>'

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

md_ext-0.0.4.tar.gz (2.1 kB view hashes)

Uploaded Source

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