On Tue, Jan 22, 2013 at 9:31 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Mon, Jan 21, 2013 at 9:10 PM, Richard Hierlmeier
<rhierlmeier(a)googlemail.com> wrote:
Hi XWiki users,
I could not find in the XWiki documentation a hint of the supported
languages for the code macro.
Well you have a link to
http://pygments.org/languages/ on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Code+Macro but
its not always perfectly up to date.
I wrote a small script in a XWiki page that read out of pygment (the
technology behind the code macro) all supported languages with language
name, files extension and mimetype.
See:
http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages
That's indeed very useful. Especially getting the exact identifier of
the language which is not very clear on
http://pygments.org/languages/.
By the way it would probably be easier to directly use the python
macro instead of the groovy one ;)
Richard
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
--
Thomas Mortagne