Subject: | TikiWiki syntax for tables |
Date: | Tue, 12 Dec 2006 13:14:19 -0500 |
To: | bug-HTML-WikiConverter-TikiWiki [...] rt.cpan.org |
From: | Brian Finney <bfinney [...] mixxerinc.com> |
In order to support tables I added the following rules to TikiWiki
table => { start => '||' , trim => 'both', line_format => 'single'},
tr => { end => '|' , trim => 'both', line_format => 'single'},
td => { end => '|' , trim => 'both', line_format => 'single'}
Thus:
<table><tr><td>r1c1</td><td>r1c2</td></tr><tr><td>r2r1</td><td>r2c2</td></tr></table>
Becomes:
||r1c1|r1c2||r2c1|r2c2||
This probably isn't the most robust way to convert tables but it works
for me
Thanks for the great module
Brian Finney