We'll create fresh WordPress site with CodeHighlighter installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
<code lang="php"> <code> tag after the lang tag if you wish to start at a line other than 1. <code lang="cpp" lineno="42"><code> tag is handled normally.code { border: 1px dotted #ccc; padding: 0.2em 0.5em; }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 <code> tags, however to ensure backwards compatibility support for the <pre> tag will not be removed.
<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.