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-Syntax Colorizer

Description

WP-Syntax is a fantastic WordPress plugin which automatically syntax-highlights source code in <pre> blocks for a large number of languages. Unfortunately, styling WP-Syntax’s output can be a bit of a headache.

I have put together WP-Syntax Colorizer, a WordPress plugin that gathers all of the functions required to set custom colors for your code snippets, and it is simply run alongside WP-Syntax.

Screenshots

  • WP-Syntax Colorizer in action.

Installation

This plugin, of course, requires WP-Syntax to be installed.

  1. Upload wp-syntax_colorizer.php to the /wp-content/plugins/ directory.
  2. Upload the modified wp-syntax.css into the root directory of your theme.
  3. Edit the colors in wp-syntax_colorizer.php to fit your needs.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

What do all the `set_keyword_group_style` lines correspond to?

The correspondence is language-dependent. For more information see the GeSHi documentation.

Contributors & Developers

“WP-Syntax Colorizer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP-Syntax Colorizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.