On Wed, Oct 21, 2009 at 14:04, Leon Wang <freeleons(a)gmail.com> wrote:
Hi everyone,
It seems the code section in Xwiki page can display html tags with color
which is cool, but it seems it can not recognize Java code and display it
with color. If it can display all sort of codes with colors it will be
perfect.
Sometimes the code macro is not able to automatically find what is the
syntax but you can always set explicitly the syntax the following way:
{{code language="java"}}
class ClassName
{
}
{{/code}}
Code macro support all Pygments (
http://pygments.org) supported
syntaxes, see
http://pygments.org/languages/
Thanks.
-Leon
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne