Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

render markdown nested lists

Project description

Installation

$ [sudo] pip install markdown-lists

Functions

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

Examples

>>> import markdown_lists

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

python-readme-generator

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.4.13
Filename, size File type Python version Upload date Hashes
Filename, size markdown-lists-2019.4.13.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