WordPress.org

Plugin Reviews

Syntax Highlighter Compress

Syntax Highlighter ComPress is a plugin for code syntax highlighting. It loads fast on the website and code can pasted easily into WordPress.

4 reviews
Average Rating
4.8 out of 5 stars
Please fix code.
By , for WP 4.1

At file syntax-highlighter-compress/tinymce/window.php

Find

window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, codetext);

and replace with

if (tinyMCE.majorVersion >= "4") {
        			window.tinyMCE.execCommand('mceInsertContent', false, codetext);
    			} else {
				window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, codetext);
			}

I use lasted version with wordpress 4.1 and found js error from difference verion of tinyMCE. Please fix it.

Great plugin -- not overkill
By , for WP 3.9.1

I've tried a few syntax plugins and recently revisited some of them again. I came back to this one for it's simplicity. Plus, I love the fact that the look is so clean.

Also, and this isn't in the feature list...you can easily add this syntax highlighting to comments by simply wrapping code in <pre class="brush:php"></pre>, where "brush" is the syntax you want to use. AWESOME!

Crayon Syntax highlighter has the option for use in comments, but it's messy and big overkill.

Hopefully someone gets back to updating this plugin, I'd hate to see it fade out with lack of updates.

It does (almost) everything I want it do
By , for WP 3.5.1

This is pretty much the only function and up-to-date plugin of its kind...that I could find. It pretty much works exactly as I had hoped. However, the "insert syntax" window does not provide an option for controlling the gutter option manually, rather this is controlled as a global setting for the plugin.

I have posted a feature request in the WordPress forum.

*The gutter is the column of numbers next to the syntax.

Really nice with great templates
By , for WP 3.5.1

This is by far the best I've tried among 4...

You must log in to submit a review. You can also log in or register using the form near the top of this page.