Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

markdown generator

Project description

Installation

$ [sudo] pip install mdown

Examples

header

>>> import mdown
>>> mdown.header("title", 6)
'###### Title'

code

>>> mdown.code("$ [sudo] pip install readme_md", "bash")
# look Install section :)

image

>>> mdown.image("https://domain.com/image.png", title="title text", alt="alt text")
'![alt text](https://domain.com/image.png "title text")'

table

>>> mdown.table(("header1","header2"),(("cell11","cell12"), ("cell21","cell22")))
'header1|header2
-|-
cell11|cell12
cell21|cell22'

readme42.com

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 mdown, version 2020.12.3
Filename, size File type Python version Upload date Hashes
Filename, size mdown-2020.12.3.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page