[Pmwiki-users] Re: Need help with markup

Jonathan Scott Duff duff at pobox.com
Tue Oct 15 13:32:31 CDT 2002

On Tue, Oct 15, 2002 at 11:48:47AM -0500, Patrick R. Michaud wrote:
> Here's an alternate [[table]] proposal, based on recent discussions:
>     [[table]]
>     [[cell]] Here is cell one
>     [[cell]] Here is cell two
>     [[cell align='right']] Here is cell three, right aligned
>     [[cell nextrow align='center']]Here is cell one on the second row
>     [[cell colspan='2']]
>       Here is the second cell on the second row, spanning two columns
>     [[tableend]]

[[end table]]


> Basically everything is a "cell", and the "nextrow" specification causes
> the cell to be the first cell of the nextrow.  "nextrow" is optional 
> (assumed) in the first cell after the [[table]] tag.

Sounds good to me.

> Okay to s/cell/somethingelse/g if someone has a better name than "cell".

Are you inclined towards verbosity or tersness? It appears to be
verbosity at the moment, but if you ever wander towards the other
end of the spectrum, how about [[te]] for "table element"?

> Same as above, but instead of [[cell nextrow]] just use [[cellnr]] to
> indicate a cell on the next row.  (Shorter to type, easier for PmWiki to
> parse.)

I like Jessica's suggestion of separating [[nextrow]] from [[cell]]

Jonathan Scott Duff
duff at cbi.tamucc.edu

More information about the pmwiki-users mailing list