[pmwiki-users] proposed markup for rowspan in simple tables

Peter Bowers pbowers at pobox.com
Wed Aug 27 05:49:54 CDT 2008

On Wed, Aug 27, 2008 at 10:50 AM, <john.rankin at affinity.co.nz> wrote:
> ## rowspan in simple tables
> Markup('||==', '>^||',
> ...

And if you include this markup (below) then you are allowed optional "filler
cells" for readability:

## Allow filler characters of ^^^ or <<< in tables
Markup('||^^||', '<^||||',
    '/\|\|\^+\|\|/', '||');
Markup('||<<||', '<^||||',
    '/\|\|(?:&lt;)+\|\|/', '||||');

With those lines added in your config.php then this example of row & column
spans which is a bit difficult to decipher:

||abcd||||efgh ||
||Data||Some text++|| A string||
||More||Another string++++||
||Not spanned ||String ||
||Text 1++ ||Text 2 ||

Can be expressed in this manner, leaving a much more author-friendly
presentation (needs to be viewed in a mono-spaced font to see how it would
look to an author -- all the vertical bars match up nicely if your email
client treats you nicely...):

||aaaa        ||bbbb       ||cccc++||
||dddd        ||<<<<<<<<<<<||^^^^^^||
||abcd        ||<<<<<<<<<<<||efgh  ||
||Data        ||Some text++|| A string||
||More        ||^^^^^^^^^^^||Another string++++||
||Not spanned ||String     ||^^^^^^||
||Text 1++    ||Text 2     ||^^^^^^||
||^^^^^^^^^^^^||xxxx       ||^^^^^^||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080827/71c36c49/attachment-0001.html 

More information about the pmwiki-users mailing list