On Fri, Jan 22, 2010 at 09:06, alyssaloren <alyssaloren23(a)yahoo.com> wrote:
Hi! Can someone please help me? I'm looking for the package or part of the
XWiki code where I can apply the XWiki Syntax v2.0. I would like to format
the text that would appear on the screen and I can't seem to find the code
that does that. Please help.
example:
i'll get the contents of a page through getPage() and getContents() then in
another class, i'll enclosed the contents with the xwiki syntax for
highlighting the text then save it back so when a user views the page, he
will see the highlighted text.
I'm not sure to understand your use case, you want to highlight some
code or interpret some syntax ?
To interpret 2.0 syntax content see
http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule for
detail of how to parse and render wiki syntaxes.
Thank you in advance!
--
View this message in context:
http://n2.nabble.com/text-formatting-tp4438830p4438830.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne