WP-CodeBox

WP-CodeBox provides clean syntax highlighting and AJAX advanced features for embedding source code within pages or posts.
It support wide range of pop

Author:Eric Wang (profile at wordpress.org)
WordPress version required:2.0
WordPress version tested:2.8.6
Plugin version:1.4.3
Added to WordPress repository:05-03-2008
Last updated:06-01-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:80
Rated by:1
Plugin URI:http://www.ericbess.com/ericblog/2008/03/03/w...
Total downloads:102 578
Active installs:700+
plugin download
Click to start download

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 <pre lang="LANGUAGE" line="1" file="download.txt" colla="+"> and </pre>

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