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

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 26 09:12:23 CDT 2008


On Tue, Aug 26, 2008 at 10:03:58AM +0200, Christian Ridderström wrote:
> Maybe it's easier to come up with a rowspan markup for  
> (:table:)...(:tableend:)? Then your users could use that type of markup  
> when they must have a rowspan?

...there's already a rowspan markup for advanced tables... it's "rowspan".  :-)

    (:table border=1:)
    (:cellnr:) Hello
    (:cell rowspan=3:) This cell spans three rows
    (:cellnr:) Apple
    (:cellnr:) Banana
    (:cellnr:) Cherry
    (:cell:) column2
    (:tableend:)

This produces a table like:

   +---------+--------------------------+
   |Hello    |This cell spans three rows
   +---------+                          |
   |Apple    |                          |
   +---------+                          |
   |Banana   |                          |
   +---------+--------------------------+
   |Cherry   |  column2                 |
   +---------+--------------------------+

Pm



More information about the pmwiki-users mailing list