GeSHi Syntax Highlight extension

From D3xt3r01.tk
Jump to navigationJump to search

Why

Because I might want to add code samples

HOW

cd extensions
svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi
cd SyntaxHighlight_GeSHi
svn co http://geshi.svn.sourceforge.net/svnroot/geshi/branches/RELEASE_1_0_X_STABLE/geshi-1.0.X/src/ geshi

and add

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

LINKS

http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi