WordPress Plugin: WP-CodeBox Clean Syntax highlighting and Advanced AJAX Embedding

This item was filled under [ Wordpress Plugins ]

Quick info:

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.

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 examples >>

Installation:

1. Upload WP-CodeBox.zip to your Wordpress plugins directory, usually wp-content/plugins/ and unzip the file. It will create a wp-content/plugins/wp-codebox/ directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to Option->Wp-CodeBox set the default setting.
4. Create a post/page that contains a code snippet following the proper usage syntax.

Download | Plugin Homepage

Related Posts:

  • No Related Posts
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment