(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-57) was last changed on 28-Apr-2008 19:53 by Isonomia  

This page was created on 04-Sep-2006 14:21 by Chuck Smith

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 243 added 51 lines
-------
Michele, Alex,
thak's for your feedback. Here's some reasoning why i think it would be useful to have those features, although i could live with it, not having it in the next version of creole:
!Seperate Header Syntax
Without an seperate header syntax it will be hard to control the header display by css, and imho this should be possible. If we don't define it we deprive advanced engines/implementations of the possibility.
''it's not clear what a double pipe ({{{||}}}) at the end of a row means'' - it simply sould not be interpreted, or interpreted as the end..
{{{
||A||B||
}}}
so for example the behavior of JSPWiki is wrong, as it interprets it as a new cell:
||A||B||
This is a frequent error of endusers in JSPWiki: They want to ''close'' a row like this
{{{
||A||B||
|1|2|
}}}
''it's hard to distinguish a cell following an empty one from a header cell'' - it's required to have a space if it sould be a empty cell
{{{
| |previous is an emty cell
|| this cell is rendered as a heading...
}}}
For me the question is if we want to give engines the possibility to render headings differently. After we have decided on this we can discuss what is the best syntax for it (not necessarily double pipes)
Since I am for a seperate header syntax, here's a suggestion: combine [headings] syntax of creole with table syntax of creole. This assumes that you would like to make cells bold that are not headings, but you never would like to use heading syntax other than in heading cells (That's why i don't suggest bold syntax))
{{{
|= Heading1 |= Heading 2 |= Heading3 |
|cell1 | cell2 |cell3 |
}}}
then we could interpret two pipes as emty cell...
Also like DarioTaraborelli shows in his example above, two pipes have a special meaning in other markup which would make it hard to mix markup...
!Line breaks in cells:
You want to split long cells quite frequently in more complicated tables. Sometimes you would like to reduce the width of the table display, because only a certain line is causing the table to be wider than expected. But i guess this is already to advanced.
We don't have dedicated characters for [linebreaks] in creole so far, so we should leave out that syntax in cells, since it introduces inconsistancy. One could rely on the browser to break the lines in cells while resizing the browser frame, or use the native syntax of his wiki to do advanced tables...
!To sum up:
* we either use no heading syntax at all or we define a better way of defining a header cell, since it is hard to distinguish empty cells from headings with the double pipe syntax and it does not mix well with existing markup...
* we do not specify a [linebreak] syntax in cells unless we have discussed linebreak syntax in more detail in creole (currently you define line breaks symply by using return, which is more visual, but produces other problems like this here..)
--[Christoph] 4. Dec 2006
Version Date Modified Size Author Changes ... Change note
57 28-Apr-2008 19:53 25.823 kB Isonomia to previous
56 28-Apr-2008 19:52 26.016 kB Isonomia to previous | to last
55 28-Apr-2008 19:05 25.605 kB Isonomia to previous | to last
54 28-Apr-2008 19:01 25.397 kB Isonomia to previous | to last
53 28-Apr-2008 18:46 25.169 kB Isonomia to previous | to last
52 28-Apr-2008 18:42 25.091 kB Isonomia to previous | to last
51 25-Apr-2008 17:13 22.032 kB Isonomia to previous | to last
50 26-Sep-2007 09:34 20.998 kB ChuckSmith to previous | to last restore
49 26-Sep-2007 01:15 21.01 kB 219.138.204.162 to previous | to last
48 01-Mar-2007 12:09 20.998 kB RadomirDopieralski to previous | to last use tests not imagination
47 01-Mar-2007 01:37 19.557 kB YvesPiguet to previous | to last
46 01-Mar-2007 00:51 18.691 kB 195.225.49.22 to previous | to last "second option" means monotonity
45 28-Feb-2007 18:47 18.265 kB YvesPiguet to previous | to last Reply
44 28-Feb-2007 17:52 18.018 kB RadomirDopieralski to previous | to last explaining why they are different from headings
43 28-Feb-2007 17:44 17.786 kB YvesPiguet to previous | to last Trailing eq
42 28-Feb-2007 17:34 17.556 kB RadomirDopieralski to previous | to last stripping the = from the end
41 28-Feb-2007 16:58 17.297 kB YvesPiguet to previous | to last cell headings
« This page (revision-57) was last changed on 28-Apr-2008 19:53 by Isonomia