Love XWiki so far ! Recently, I’m studying XWiki’s syntax (XWiki/2.1, Markdown/1.2 … ), but I found it is too hard to me . So much class(parser, render, reader, listener…), and I still don’t get it. So I want to add a simple syntax myself ,it must will help me understand XWiki syntax.
The problem is I also don’t know how to started it . Are there any demo or tutorials?
Yes there is, see http://rendering.xwiki.org/xwiki/bin/view/Main/WebHome & http://rendering.xwiki.org/xwiki/bin/view/Main/Architecture
More specifically, to add a syntax:
There’s also existing code to help.
Adding a syntax is as easy as writing a parser for it. If your syntax is simple then it’s simple; if your syntax is hard then it’s hard
You’ll need to understand XWiki components:
Ok! Thank you very much ! I will take a try !