1 2 3 4% You can put below those lines the pre or proc rules you may need in your dokuwiki-t2t installation 5 6% Dokuwiki syntax is close to the txt2tags one. Yet txt2tags has a few more 7% cool features (like this preproc / postproc thing see http://txt2tags.org/userguide/preproc.html) 8% Note: dokuwiki headings are reversed in comparison to the ones in txt2tags 9% H6 (six =) doesn't exist in txt2tags, and incidently, this is H1 in dokuwiki. 10% So we use the preproc below to take into account this mark which we can find in our 11% dokuwiki like in some settings or message. We turn it into H2. 12% 13 14 15%!preproc: '====== (.*?) ======' '== \1 ==' 16 17% use [[the description | your_page]] syntax 18%!preproc: '\[\[(.*?)\|(.*?)\]\]' '[\1 doku.php?id=\2]' 19%!preproc: '\[\[(.*?) \| (.*?)\]\]' '[\1 doku.php?id=\2]' 20 21% use [[your_page]] syntax 22%!preproc: '\[\[(.*?)\]\]' '[\1 doku.php?id=\1]' 23 24% center tables 25%!postproc: '<table' '<table align="center"' 26 27%% Textallion 28 29%!preproc: '\{ \*\* \}' 'CONVERTboldBEGIN' 30%!preproc: '\{\/\*\* \}' 'CONVERTboldEND' 31 32%!postproc: 'CONVERTboldBEGIN' '<span class="bold"><b>' 33%!postproc: 'CONVERTboldEND' '</b></span>' 34 35%!preproc: '\{\/\/\.\.\}' 'LINEBREAK' 36%!preproc: "\\\\" 'LINEBREAK' 37%!postproc: "LINEBREAK" '<br/> ' 38%!postproc: "LINEBREAK" '<br/> ' 39 40%!preproc: '--------(-+)---------' 'SIMPLELINE' 41%!preproc: '---' 'QUADRATINDASH' 42%!postproc: 'QUADRATINDASH' '—' 43 44%!postproc: 'SIMPLELINE' '<hr/>' 45