Wiki XML syntax highlighting
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
Wiki XML syntax highlighting
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
Something like this: http://www.mediawiki.org/wiki/Extension:GeSHiHighlight
It will make the XML files much more readable
Re: Wiki XML syntax highlighting
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)?
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: Wiki XML syntax highlighting
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
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
Example: http://wiki.themanaworld.org/index.php/ ... svg#Source
Former programmer for the TMWA server.
Re: Wiki XML syntax highlighting
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
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
"The language of everyday life is clogged with sentiment, and the science of human nature has not advanced so far that we can describe individual sentiment in a clear way." Lancelot Hogben, Mathematics for the Million.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.