Wiki syntax highlighting

This is the place to discuss the Wiki contents, forum issues, themes and to propose site-related features and ideas.
Locked
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Wiki syntax highlighting

Post by lgromanowski »

Zini wrote: I just noticed, that the wiki does not seem to support any kind of syntax highlighting. Would it be possible to install an extension like this one:

http://www.mediawiki.org/wiki/Extension ... ight_GeSHi ?
Vance987 wrote: That would be an awesome addition to the forums. Being able to highlight the main topics of a subject.
nicolay wrote:
Zini wrote:I just noticed, that the wiki does not seem to support any kind of syntax highlighting. Would it be possible to install an extension like this one:

http://www.mediawiki.org/wiki/Extension ... ight_GeSHi ?
That's a good idea. Last time I set GeSHi up it was pretty easy, but it's Lordrea's decision.
Lordrea wrote: Added.
Zini wrote: Thanks, but I can't seem to make it work. Was trying to put the bash scripts on this page http://openmw.com/wiki/index.php?title= ... _a_dev_env into <syntaxhighlight> tags, but the wiki ignored them.
Lordrea wrote:
Zini wrote:Thanks, but I can't seem to make it work. Was trying to put the bash scripts on this page http://openmw.com/wiki/index.php?title= ... _a_dev_env into <syntaxhighlight> tags, but the wiki ignored them.
<syntaxhighlight> doesn't seem to work. Use <source> instead. Works like a charm.
Zini wrote: Yeah, that did it. Thanks again.
Vance987 wrote: Awesome. :3
Locked