Topic: Wiki syntax highlighting

I've tried

<syntaxhighlight lang="C++">
</syntaxhighlight>

but it doesn't work, maybe it's not supported?

Re: Wiki syntax highlighting

I might be wrong but it seems that mediawiki needs an extension to enable text highlight,
for now maybe maybe you can use simple text colors ?

<span style="color:#FF0000"> Input text </span>

Re: Wiki syntax highlighting

That will be a pain lol.

Re: Wiki syntax highlighting

mh, it doesn't seem supported by default,
maybe using an extension but I'm unsure.

Re: Wiki syntax highlighting

It would be cool because since the code in the wiki is meant to help users, it should be easy to read.

Last edited by 255 (2013-08-22 22:06:46)