• Home
  • Uncategorized
  • Remove the ugly green question mark from syntax highlighter for wordpress

Remove the ugly green question mark from syntax highlighter for wordpress

Syntax highlighter is an awesome plugin. It highlights code according to programming syntaxes.
However by default, it adds an ugly green question mark right in the middle of code boxes, and does not provide a setting option to disable it. Here’s what I’m talking about:

MWSnap001

Go to the directory where syntaxhighlighter plugin resides

Edit file syntaxhighlighter.php
Find the line

SyntaxHighlighter.all();

Just before this line, add the following code, so that it ultimately looks like this:

SyntaxHighlighter.defaults['toolbar'] = false;
SyntaxHighlighter.all();