Plugin Directory

Syntax Highlighter MT

Provides a simple way to use the Syntax Highlighter tool from http://alexgorbatchev.com/wiki/SyntaxHighlighter

How do I highlight code?

Take a look at http://alexgorbatchev.com/wiki/SyntaxHighlighter for the documentation on using the Syntax Highlighter tool. Basic usage is similar to: <pre class="brush:php">...PHP code...</pre>

Why does my content containing “” get messed up?

This is an issue with using the <pre /> tags. Replace the < characters with their entity escape of &lt; to get the desired result. See http://alexgorbatchev.com/SyntaxHighlighter/manual/installation.html for more discussion. (Note that this issue only happens if you are using the <pre /> tags to surround the highlighted code.)

I get an error saying "Can't find brush for: xxx"

The most likely issue is that the specified brush is not available as part of the plugin install.

Why "Syntax Highlighter MT"?

There are several plugins already that are named Syntax Highlighter, or some variant. I added "MT" (for Megatome Technologies - my company) to the name to make it unique.

Requires: 2.7.1 or higher
Compatible up to: 3.3.2
Last Updated: 2011-8-8
Downloads: 9,095

Average Rating

4 stars
(4 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,3,3
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2