Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records CodeHighlighter version 1.9 as active, updated 14y ago and tested up to WordPress 3.4.
Overview
About this plugin
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
Usage
Put the code snippet in a “` tag.
Add the lang attribute to the code tag like the following. <code lang="php">
Add the lineno attribute to the <code> tag after the lang tag if you wish to start at a line other than 1. <code lang="cpp" lineno="42">
If you do not add lang attribute, the <code> tag is handled normally.
If you want to have border, add the style like the following to your.css file. code { border: 1px dotted #ccc; padding: 0.2em 0.5em; }
9 adds support for <code> tags, however to ensure backwards compatibility support for the <pre> tag will not be removed.
Known issues
Because this plugin uses regular expression to match string range from <code lang="some"> to “`, you can’t use </code> in your code snippet. If you must put the </code> tag, you can put a space between < and /code> like < /code>. The < /code> is converted to </code> automatically by plugin.
If you want to change the style, you should modify the plugin source file. 😛
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
code highlighter
syntax highlight
formatting
post
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 3.4
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.4.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.4
Minimum requirementsWordPress 2.0 · PHP not listed
Update activity18 Jun 201214y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.