[Pmwiki-users] Re: Need help with markup

Patrick R. Michaud pmichaud at sci.tamucc.edu
Tue Oct 15 11:48:47 CDT 2002


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]]


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.

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

-----

Yet another idea:

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.)

Pm






More information about the pmwiki-users mailing list