Provides a simple way to use the Syntax Highlighter tool from http://alexgorbatchev.com/wiki/SyntaxHighlighter
The basic usage is:
<pre class="brush:brush_name">...code...</pre> where
brush_name is one of the available brushes.
This is an issue with using the
<pre /> tags. Replace the
< characters with their entity escape of
< 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.)
The most likely issue is that the specified brush is not available as part of the plugin install.
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: 4.3.0
Last Updated: 2 years ago
Active Installs: 800+
Got something to say? Need help?