formats the contents of embedded list to dokuwiki unordered list markup
Project description
=================================================
test_list_cst is test list with embedded lists
=================================================
list2outline will format the contents of an
embedded list as dokuwiki unordered list markup.
EG:
['one', 'two', ['eh', 'bee', ['eye', 'aye-aye',
'aiyayai']], 'see']
BECOMES:
* one
* two
* eh
* bee
* eye
* aye-aye
* aiyayai
* see
USAGE:
list2outline(your_list, root_level)
WHERE:
your_list is a list (embedded or no)
root_level would normally be 1
=================================================
test_list_cst is test list with embedded lists
=================================================
list2outline will format the contents of an
embedded list as dokuwiki unordered list markup.
EG:
['one', 'two', ['eh', 'bee', ['eye', 'aye-aye',
'aiyayai']], 'see']
BECOMES:
* one
* two
* eh
* bee
* eye
* aye-aye
* aiyayai
* see
USAGE:
list2outline(your_list, root_level)
WHERE:
your_list is a list (embedded or no)
root_level would normally be 1
=================================================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scos-150207.5.tar.gz
(1.5 kB
view hashes)