On Aug 18, 2008, at 10:38 AM, Vincent Massol wrote:
>
> On Jul 27, 2008, at 7:18 PM, Vincent Massol wrote:
>
>>
>> On Jul 23, 2008, at 6:05 PM, Vincent Massol wrote:
>>
>>> Some open issues/questions:
>>>
>>> 1) I think we need a syntax for escaping a block of text. I'd
>>> propose
>>> using {{{whatever here}}} (same as creole and confluence). We
>>> could do
>>> it with a macro but I don't know how we could implement it easily...
>>
>> Still not sure. Most said they liked the {{{ }}} notation. Right now
>> I've implemented the {{nowiki}} macro. Do we still want/need this at
>> the wiki syntax level?
>
> I think we do since it'll easier to type than {{nowiki}}. I'll
> create an issue in wikimodel to add it since we were all in agreement.
> See http://code.google.com/p/wikimodel/issues/detail?id=38
>
> I guess I'll just remove the nowiki macro when it's done.
>
> [snip]
>
>>> 4) Tables: do we keep the table macro or do we want a wiki syntax
>>> for
>>> tables.
>>
>> Also need more input.
>
> My take is that we should go with a macro since this allows us to
> have more options like filterable/sortable/pageable/etc than a wiki
> syntax.
I was wrong. I've talked to Mikhail from wikimodel and what he's done
for the wikimodel common syntax is to allow parameters for tables in
the following manner:
* Parameters at the table level:
{{tableParam=value ...}}
|| column 1 || column 2
cell 1 | cell 2
* Parameters at the column level:
|| {{columnParam=value ...}} column 1 || column 2
cell 1 | cell 2
* Parameters at the line level:
|| column 1 || column 2
{{lineParam=value ...}} | Cell 1 | Cell 2
* Parameters at the cell level:
|| column 1 || column 2
{{cellParam=value...}} cell 1 | cell 2
He says it's easy to do the same for the XWiki Parser in wikimodel.
Of course we'll need to change the parameter delimiter since {{ }} are
already used for macros for the xwiki syntax. But we could use
something like %% I guess.
So I'm now more in favor of having a wiki syntax for tables instead of
a macro.
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs