====== DokuWiki plug-in: Multi-line lists ====== DokuWiki supports lists using the following syntax: * item1 * item2 * subitem 2.1 * item 3 However, when you have a very long list item, you will found a nightmare! In the editing window, the items will wrap and you lost all the visual hierarchy. Although you can still make the list as you want to but it is simply not as //intuitive// as it should be. I made a plug-in, by referencing the creole plug-in, to do the above things, which now supports the syntax as follows: * item1 and its continuation * item 2 * subitem 2.1 and its continuation Those "continuation" will be shown as one single line, but you can make it visually better when editing the source. All continuation needs at least three spaces from the begin of the line and the actually number of spaces are not important to the outcome. The number of continuation lines is unlimited given that all lines begins with at least three spaces. ===== Code ===== To use, create a directory ''lib/plugins/mllist/'' and put the following file as ''syntax.php'' to use. ===== Change History ===== * 2007-06-10: * Initial release. ~~DISCUSSION~~