[xwiki-devs] [Discussion] Designing the new Rendering/Parsing component/API
Vincent Massol
vincent at massol.net
Tue Sep 11 17:08:47 UTC 2007
On Sep 11, 2007, at 6:36 PM, Jean-Vincent Drean wrote:
>> Two possible solutions:
>>
>> 1. Have a WikiSyntax Object (A simple class with one property: a
>> combox box with different syntaxes: XWiki Legacy, Creole, MediaWiki,
>> Confluence, JSPWiki, etc) that users can attach to pages to tell the
>> Renderers what syntax is used. If no such object is attached then
>> it'll default to XWiki's default syntax (XWiki Legacy or Creole for
>> example).
>> 2. Have some special syntax, independent of the wiki syntaxes to
>> tell the Rendered that such block of content should be rendered with
>> that given syntax. Again there would be a default.
>
> 3) A new "syntax" document meta ? WDYT ?
Yes this is like solution 1 in that you cannot mix syntaxes within a
given document whereas solution 2 allows that.
Not sure which is best.
Thanks
-Vincent
More information about the devs
mailing list