Hi Malaka,

Don't you need a xwiki syntax parser for this?

As you probably know I have written such a parser in the new rendering  
module. Just make you don't reinvent one.

Thanks
-Vincent

On Jun 12, 2008, at 6:05 AM, malaka ekanayake wrote:

> Hi fabio
> Regarding the xwiki syntax I have some questions. Up to now its
> straightforward to implement the highlighting for syntaxes like
> *bold*.
> *bold* can be easily identified by a "MultiLineRule" as a single  
> partition.
> But it is possible for someone to write a *bold~~bold  
> &italics~~bold*.Right ?.
> So this can go  on and on.How should I tackle this problem.
> I think *bold~~bold &italics~~bold* should generate 3 partitions
> because partitions are non overlapping.
> *bold
> ~~bold &italics~~
> bold*
> Is this right ?.
> Should I look into this problem later and implement the sample plugin
> for simple syntaxes like *bild*,~~italics~~ or not ? .
>
>
> cheers
> -- Malaka Ekanayake
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to