WordPress plugin
CodeHighlighter
This plugin is a syntax highlighter for source code using GeSHi.
- Active installs
- 10+
- Version
- 1.9
- Last updated
- Jun 18, 2012
- Tested up to
- WordPress 3.4.2
- Requires
- WP 2.0
Health check
Is CodeHighlighter safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
No update in over a year
Last updated on June 18, 2012. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.
Not yet tested with the latest WordPress
Tested up to WordPress 3.4.2. It often still works, but check on staging first.
Rank tracker
Where CodeHighlighter ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| code highlighter | ||||
| formatting | ||||
| post | ||||
| syntax highlight | ||||
| codehighlighter |
Checked against the top 100 WordPress.org search results.
Overview
What CodeHighlighter does
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
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; }
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
Description from the author's listing. Read the full listing on WordPress.org
FAQ
CodeHighlighter: questions and answers
What is CodeHighlighter?
CodeHighlighter is a WordPress plugin by iwongu. This plugin is a syntax highlighter for source code using GeSHi.
Is CodeHighlighter free?
CodeHighlighter is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use CodeHighlighter?
WordPress.org reports 10+ active installations of CodeHighlighter. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is CodeHighlighter still maintained?
CodeHighlighter was last updated on June 18, 2012. The current version is 1.9. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does CodeHighlighter require?
CodeHighlighter requires WordPress 2.0 or newer. It has been tested up to WordPress 3.4.2.
Can Codefreex set up or customize CodeHighlighter?
Yes. Codefreex installs, configures and customizes WordPress plugins including CodeHighlighter, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need CodeHighlighter set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.