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.

Chili Code Highlighter

Description

Allows for easy posting of code and syntax highlights it via a jQuery plugin called Chili by Andrea Ercolino.

THIS PLUGIN IS STILL IN ALPHA/BETA AND IS A WORK IN PROGRESS. PLEASE DON’T DOWNLOAD IT UNLESS YOU ARE COMFORTABLE WITH THIS.

A complete version will be coming soon. Please report any bugs or feedback to me.

USAGE

[code="language"]some code[/code]

Example:

[code="php]<?php echo 'Hello world!'; ?>[/code]

Installation

Updgrading From A Previous Version

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

Installing The Plugin

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/.

This should result in the following file structure:

- wp-content
    - plugins
        - chili-code-highlighter
            | chili-code-highlighter.php
            | readme.txt
            - chili
                | cplusplus.js
                | csharp.js
                | [...]
                | php-f.js
                | recipes.js

Then just visit your admin area and activate the plugin.

See Also: “Installing Plugins” article on the WP Codex

Contributors & Developers

“Chili Code Highlighter” is open source software. The following people have contributed to this plugin.

Contributors