GeSHi Syntax Highlight extension

From D3xt3r01.tk
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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