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

Dominique Faure dominique.faure at gmail.com
Mon Aug 25 11:34:58 CDT 2008


On Mon, Aug 25, 2008 at 14:48, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Mon, Aug 25, 2008 at 10:44:46AM +0200, Christian Ridderström wrote:
>> What about this:

[...]

>> (:simpletable separator=";" alignment="llc" :)
>> Column A ; Column B  ; Column C
>> asfasdf  ; asdfasdf  ; asdfas
>> afasdff  ;
>> (:simpletableend:)
>
> I like this approach a lot -- I'll have to think about it.
> It might even be do-able within the existing table markup, as
> something like:
>
> || separator=";" alignment="llc"
> || Column A ; Column B ; Column C
> || apple    ; banana   ; cherry
> || ask      ;
>
> Or, perhaps combine separators and alignments in a single format string,
> allowing the separator to change:
>
> || format="l ; l - c"
> || Column A ; Column B - Column C
> || apple    ; banana   - cherry
> || ask      ;          -
>

A great idea, I like it also but IMHO, the handling of table headers
should not be forgotten (they're not always aligned like the values).


-- 
Dominique



More information about the pmwiki-users mailing list