Small hack I did today is very useful when converting help text to wiki format - I added ~ to the list elements. Is ~ used elsewhere.. looks like maybe a timezone thing so that ~~~ would fail? Is there another char that would work better?
# something #~ step 1 #~ step 2 # else
shows
1. something a. step 1 b. step 2 2. else
in Parser.php, function openList() else if ( '~' == $char ) { $result .= '<ol><li type="a">'; } in nextItem() else if ( '~' == $char ) { return '</li><li type="a">'; } in closeList() else if ( '~' == $char ) { $text = '</li></ol>'; } and in doBlockLevels() $prefixLength = strspn( $oLine, '*#~:;' );
- MHart