[Pmwiki-users] Re: Need help with markup

Jonathan Scott Duff duff at pobox.com
Tue Oct 15 11:17:55 CDT 2002


On Tue, Oct 15, 2002 at 10:53:38AM -0500, Patrick R. Michaud wrote:
> On Tue, 15 Oct 2002, Jessica Tishmack wrote:
> > I like the above a lot...better than the [[/table]] type stuff.  I think 
> > "tablecol" and "tablerow" will make more sense to the average user than 
> > "td" and "tr".  However, I think it would make more sense if a "tablecol" 
> > was listed right after the row.  So, the above could look more like this:
> > 
> >      [[tablestart border='1']]  
> >      [[tablerow]]
> >      [[tablecol]]
> >      This would represent the first row/first column
> >      * Bullet lists okay
> >      * Still okay
> 
> Umm, why does this make more sense?  Why force a person to put in the
> extra markup tag?
> 
> Or, if I do force it, then perhaps the tag should be [[tablecell]] instead
> of [[tablecol]]?

Or some sort of generalized grouping mechanism that has nothing
specifically to do with tables that you could encase in other markup.

> Or, perhaps the tags should be [[nextrow]] and [[nextcol]], or something
> like that, to indicate moving to the next row and next column in the table?

Random stuff ...

line-oriented tables:
	# The first item
	# Here is a table of the second item options[[tablestart]]
	[[tablerow]]
	Column1 of the second item
	
	Column2 of the second item
	
	Column3 of the second item
	[[tableend]]
	# The third item

[[||]] column separator:
	# The first item
        # [[tablestart]][[tablerow]]Column1 of the second
          item[[||]]Column2 of the second item[[||]]Column3 of the
          second item[[tableend]]
        # The third item

What happens when you mix [[tablerow]] and [[tablecol]]?
	# The first item
        # [[tablestart]][[tablerow]]Column1 of the second
          item[[||]]Column2 of the second item[[||]]Column3 of the
          second item[[tablecol]]Where does this column go?[[tableend]]
        # The third item

-Scott
-- 
Jonathan Scott Duff
duff at cbi.tamucc.edu




More information about the pmwiki-users mailing list