adding basic numbered list support to dokuwiki export
parent
9aed433ad5
commit
c0daf1aaaf
|
@ -252,7 +252,12 @@ function getDokuWikiFromAtext(pad, atext)
|
|||
|
||||
if (line.listLevel && lineContent)
|
||||
{
|
||||
pieces.push(new Array(line.listLevel + 1).join(' ') + '* ');
|
||||
if (line.listTypeName == "number")
|
||||
{
|
||||
pieces.push(new Array(line.listLevel + 1).join(' ') + ' - ');
|
||||
} else {
|
||||
pieces.push(new Array(line.listLevel + 1).join(' ') + '* ');
|
||||
}
|
||||
}
|
||||
pieces.push(lineContent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue