inicio mail me! sindicaci;ón

Syntax Highlighting in MediaWiki

I wanted to put syntax highlighting in the new ztdev wiki. So off to google I went.

I checked out Extension:Syntax_Highlighting, but it required a pear extension to run and doesn’t produce great output, so I checked it back in again.

I also looked at Extension:Geshi, but I didn’t care for the absurd tags needed to make this run. Plus, the installation required pear extensions and other mediawiki extensions to be installed. Yarr. So I reported back to Google.

Then I found Extension:GeSHiHighlight . GeSHi based, so you know the highlighting is awesome, and it uses simple tags like <php>, etc to enforce the highlighting. Yay!

Installation was a sinch–4 steps listed in plain english. Do note the WARNING at the bottom about <div> and <css> tags! You may need to rename those as suggested in the wiki.

Leave a Comment