1
I don't know if it's even posible (it should be with javascript i think?)but i think it would be nice if we could have some sort of SyntaxHighlighting in the XOOPS editor.
And maybe the normal highlighting could be replaced with this one
http://alexgorbatchev.com/wiki/SyntaxHighlighter?Instead of:
if (!defined('MEDIAWIKI'))
exit(1);
$wgExtensionFunctions[] = "wfSyntaxHighlighterExtension";
$wgExtensionCredits['other'][] = array(
'name' => 'SyntaxHighlighter',
'author' => array('Alex Gorbatchev'),
'version' => '1.0',
'url' => 'http://alexgorbatchev.com/projects/syntaxhighlighter',
'description' => 'Provides tight integration with SyntaxHighlighter.'
);
// Path to the SyntaxHighlighter scripts
$wgSyntaxHighlighterScriptPath = "{$wgScriptPath}/extensions/SyntaxHighlighter/scripts";
// Path to the SyntaxHighlighter styles
$wgSyntaxHighlighterStylesPath = "{$wgScriptPath}/extensions/SyntaxHighlighter/styles";
It would then look like:
Greets Dylian