WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

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

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

Requires: 2.0 or higher
Compatible up to: 2.8.6
Last Updated: 2010-1-6
Downloads: 100,220

Ratings

4 stars
4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1
0,1,0 20,5,1
67,3,2
50,6,3
100,3,3
83,6,5
100,1,1
0,1,0
100,1,1
67,3,2
100,1,1