Code Syntax Highlight for MediaWiki! (GeSHi)

Categories: blog



geshi.png

Yes finally! <code> in Color!

I have been using mediawiki for my resources and reference for quite some time now. But it was all in mono. Black and white.. dull. No line number.. no syntax highlight.

I tried searching for something in mediawiki extension section but nothing!

Googling is always my best bet. Productivity will go down to a crawl if it werent for google! Yeah.. our dependent on google is quite scary.

So anyway I found a nice entry on Swinburne University of Technology wiki entry on using GeSHi on mediawiki.

geshi_example.jpg

 

Mediawiki using GeSHi - Generic Syntax Highlighter 

Now all I have to type to use the extension is <code>[php,1] function … </code> and all is good.

 

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. [...] blog is using GeSHi. As posted previously. That might change soon. I found a nice syntax highlighter on google code based on javascript. BUT, [...]

    Pingback by Of work, syntax highlighting and It's good to be back! : [ mkhairul.com ] — June 25, 2007 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.