+1 for |=
+1 for alternative !

Vincent Massol wrote:
> On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
> 
>> Hi devs,
>>
>> Currently in xwiki syntax 2.0 we are using
>> || title cell 1 || title cell2
>> | cell 1 | cell 2
>> for table syntax.
>>
>> The problem is that with this grammar it's impossible to have empty
>> cells because you can't use || as it mean title cell.
>>
>> Creole is using (see
>> http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables):
>> |= title cell 1 |= title cell2 |
>> | cell 1 | cell 2 |
>>
>> I propose to change our current || by |= meaning the difference with
>> the Creole syntax will be just that we don't need the ending |:
>> |= title cell 1 |= title cell2
>> | cell 1 | cell 2
>>
>> - we generally agreed to use Creole as much as possible
>> - this syntax support space
>> - this cell header syntax is more consistent with our header syntax
>> (which is the Creole one ok ;))
>> - I think it's more readable than the current one because it's easier
>> to differentiate header cell and cell especially when there is lot's
>> of them
>>
>> So here is my +1
> 
> +1
> 
> Do we want to offer an alternative syntax for people using a keyboard  
> that doesn't have the pipe symbol?
> 
> I propose:
> 
> != for headers
> !! for cells
> 
> since ! is the closest character to |
> 
> WDYT?


-- 
   Artem Melentyev
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to