WP-CodeBox free WordPress plugin
Description
WP-CodeBox provides clean syntax highlighting and AJAX advanced features for embedding source code within pages or posts. It support wide range of popular languages highlighting with line numbers, code download, Copy to clipboard, collapse codebox,automatic keywords link to API manual and maintains formatting while copying snippets of code from the browser. It’s provide simple background configuration for highlighter style/formatting customization. Since the plugin is developing, in the future it will support more options.(CSS option,Keywords display style,Auto Caps/Nocaps,Case Sensitivity etc. ) Basic Usage Wrap code blocks with and Possible Parameters: lang=”LANGUAGE” – LANGUAGE is a GeSHi supported language syntax. file=”download.txt” – The file will create a code downloading attribute. line=”N” – The N is the starting line number. colla=”+/-” – The +/- will expand/collapse the codebox. line,file,colla is optional. More usage examples About Author Eric Wang Usage Example 1: PHP, no line numbers Example 2: Java, with line numbers,collapse codebox public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } } Example 3: Ruby, with line numbers starting at 18, code downloading(ruby.txt) class Example def example(arg1) return "Hello: " + arg1.to_s end end Supported Languages The following languages are supported in the lang attribute: abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp-qt, cpp, csharp, 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 (Bold languages just highlight the more popular ones.) Languages HotLink Actionscript,ADA,Apache Log ,AppleScript ,ASM ,ASP ,AutoIT,Backus-Naur form ,Bash
Features
Cost:
Free
Provider:
Eric Wang
Popularity:
Low
WPMarket

