Difference between revisions of "Source code syntaxhighlighter installation"

From Klaus' wiki
Jump to: navigation, search
(Created page with 'Download the latest version to a workstation: <source lang="bash"> svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi </source> Send the d…')
 
(No difference)

Latest revision as of 20:41, 28 April 2010

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.