Maintenance 20/1004944d since update
Active installs
10
Downloads
12,228
Reviews
0
Age
18.3y
Tagspostformattingsyntax highlightcode highlighter
Plugin info
Total downloads: 12,228
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 6/18/2012 (4944 days ago)
Added to WordPress: 9/7/2007 (18 years old)
Minimum WordPress version: 2.0
Tested up to WordPress version: 3.4.2
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4944 days ago
20/100
Is CodeHighlighter abandoned?
Possibly abandoned (last update 4944 days ago).
Compatibility
Requires WordPress: 2.0
Tested up to: 3.4.2
Requires PHP: f
Languages
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
HTML Editor Syntax Highlighter
Rating 4.4/5 (110 reviews) • Active installs 50,000
AH Code Highlighter
Rating 5.0/5 (1 reviews) • Active installs 70
iG:Syntax Hiliter
Rating 5.0/5 (1 reviews) • Active installs 60
Prism Highlight
Rating 0.0/5 (0 reviews) • Active installs 30
Code Highlight
Rating 0.0/5 (0 reviews) • Active installs 20
Description
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.
- Add the lineno attribute to the
tag after the lang tag if you wish to start at a line other than 1. - If you do not add lang attribute, the
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; } - You can use following languages in lang.
abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp-qt, cpp, csharp, css-gen, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, perl, php-brief, php, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80
Note: Version 1.9 adds support for tags, however to ensure backwards compatibility support for the tag will not be removed.
Known issues
- Because this plugin uses regular expression to match string range from
in your code snippet. If you must put theto “`, you can’t usetag, you can put a space between<and/code>like< /code>. The< /code>is converted toautomatically by plugin. - If you want to change the style, you should modify the plugin source file. 😛
Installation
- Unzip the plugin archive.
- Upload the directory to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.9
- Added plugin maintainer
- Removed outdated links
- Added support for the
<code>tag - Fixed several HTML entity display issues
- Line numbering now defaults to displaying line numbers starting at 1