The plugin uses the JS library Google Code Prettify to highlight code.
The only theme available is Sunburst (from Highlight.js), a high contrast syntax highlighting theme for showcasing source code on a dark background.
Installation:
Unpack and upload it to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.
To embed and highlight some source code, include between the [prettify class="xxx"][/prettify] shortcode, where xxx is a programming language (like html, ruby, php, css, etc.).
Here are some key features of "Sunburst Code Prettify":
Supported languages:
· Bash
· C#
· C++
· CSS
· Diff
· HTML, XML
· Ini
· Java
· JavaScript
· PHP
· Perl
· Python
· Ruby
· SQL
Requirements:
· WordPress 3.1 or higher
What's New in This Release: [ read full changelog ]
· Changed syntax highlight script to Highlight.js for more accurate code detection.
· Improved content stripping rules for WordPress code editor when the [prettify]...[/prettify] is wrapped around content.
· Improved Sunburst CSS styles.