Page 1 of 1

Wiki XML syntax highlighting

Posted: 14 Jun 2013, 08:07
by EJlol
Can we have XML syntax highlighting on the wiki?
Something like this: http://www.mediawiki.org/wiki/Extension:GeSHiHighlight

It will make the XML files much more readable :)

Re: Wiki XML syntax highlighting

Posted: 14 Jun 2013, 14:12
by Jaxad0127

Re: Wiki XML syntax highlighting

Posted: 14 Jun 2013, 14:38
by Crush
Is there any code on the wiki which isn't either XML or tmwAthena script code (I think it's quite unlikely that there is a syntax highlighting plugin around for the latter)?

Re: Wiki XML syntax highlighting

Posted: 14 Jun 2013, 14:41
by Jaxad0127
Should be bits of C/C++. There is some Python (to build the item/monster pages). Likely a few bits of others here and there. Having a syntax highlighter will make the wiki a better place to put things.

Re: Wiki XML syntax highlighting

Posted: 14 Jun 2013, 17:59
by o11c
I installed the syntax highlighter used by wikipedia, which is saner than the one linked here.

Example: http://wiki.themanaworld.org/index.php/ ... svg#Source

Re: Wiki XML syntax highlighting

Posted: 15 Jun 2013, 22:27
by Nard
http://www.mediawiki.org/wiki/Extension ... eColorizer
http://www.mediawiki.org/wiki/Extension ... ighlighter
both use:
http://alexgorbatchev.com/SyntaxHighlighter/
This was precisely one of the reasons why I asked for a js extension. http://wiki.themanaworld.org/index.php/ ... mprovement
It would have been possible to develop a TMWa scripts highlighting too