Topic on Extension talk:SyntaxHighlighter/Flow

76.102.26.116 (talkcontribs)

I'm testing with the example, using javascript. And it doesn't have any coloring at all. All it does is surround the text in a dotted line box. There are no php errors (i have errors displayed). Are there dependencies that aren't listed?

76.102.26.116 21:37, 31 January 2014 (UTC)

213.23.91.62 (talkcontribs)

I had the same problem.

The fix is, to remove the extra one SyntaxHighlighter (boldface in snippet below) while building the $directory variable in 'SyntaxHighlighter.php' in function addHeadItems() somewhere about line 137.

 :
if( count($this->mSyntaxList) > 0 ) {
global $wgScriptPath;
$directory = $wgScriptPath.'/extensions/SyntaxHighlighter';
$scriptTxt = "\n\r";
 :
Reply to "Doesn't color code"