[cowiki-dev] Re: was [Issue 211] now dtg grumble about table syntax
Archie Campbell <[email protected]>
| Newsgroups | gmane.comp.php.cowiki.devel |
|---|---|
| Message-ID | <[email protected]> |
The syntax is listed as Method 6 of seven given at http://www.usemod.com/cgi-bin/mb.pl?WikiMarkupStandard, is used by wikipedia, arguably the most used of wikis, and consists essentially of a pipe-hyphen at each row start, an optional between-pipe parameter for any cell, where any cell content is given on separate lines (as many as are needed) between initial pipe and eventual pipe-as-first-character-of-following-line. (The closing delimiter is the final newline of the content, followed by the pipe of the next cell or line.) For example... <table> |- new table row |cellparam| new cell with HTML parameters cell text cell content, on consecutive lines until pipe * list is found at first character on line |-rowparam params always follow the syntax immediately. leaving a space denotes content !headparam| new header cell with HTML parameters (note pipe not bang after params) header text content, on consecutive lines until pipe as for td. etc... </table> There are extensive instructions over at wikipedia, which I don't want to duplicate at this stage but can advise any curious person to read over. Even better, grok the Parser. The heuristic might be : new row? whack in a hyphenated pipe "|-" params if any go sandwiched to the hyphen. New cell? just a pipe, sandwich any params with another pipe and leave the content on following rows. Repeat. Play around. It's pretty simple. dtg, HEAD appears (from http://cowiki.tigris.org) to have version 1.45, in which I replace the documentation skipped over in v1.44. In fact my cvs tree doesn't work at all, for reasons unknown, but my own working copy is thus far functional. I'm going to have to bring my cvs tree to an executable state. Are there any installation instructions laying around? Things I should know to get a checkout to operate? Regards, Archie [email protected] wrote: >http://cowiki.tigris.org/issues/show_bug.cgi?id=211 > >------- Additional comments from [email protected] Mon Mar 21 11:14:59 -0800 2005 ------- >Before I can look further .. The stuff you pasted: > ><table> >|- >| Cell 1, row 1 >|rowspan=2| >* list >* list2 >| Cell 3, row 1 >|- >| content >| Cell 3, row 2 ></table> > >isn't parsed to anything with latest HEAD. > >P.S. I think this is not a non-tech user friendly syntax (say it with me >_wiki_). Even I didn't understand how it should work yet. > >