Source code syntaxhighlighter installation

From Klaus' wiki
Revision as of 20:41, 28 April 2010 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Download the latest version to a workstation:

svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi

Send the downloaded to the remote wiki-server

scp -r SyntaxHighlight_GeSHi root@kalashnikova.hih.au.dk:/var/www/html/klaus.ede.hih.au.dk/extensions/

Add this line to your LocalSettings.php

require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");

Look on this [1] page for the supported languages.