Skip to main content

render markdown nested lists

Project description


$ [sudo] pip install markdown-lists


function __doc__
markdown_lists.render(lists, depth=1) return a string with markdown nested lists


>>> import markdown_lists

>>> lists = ["item1",["subitem11","subitem12"],"item2"]
>>> markdown_lists.render(lists)
+   item1
    +   subitem11
    +   subitem12
+   item2


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 markdown-lists, version 2019.3.30
Filename, size File type Python version Upload date Hashes
Filename, size markdown_lists-2019.3.30-py2.py3-none-any.whl (2.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size markdown-lists-2019.3.30.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page