wp-syntax-rettke serves as an example for the programmatic
“Advanced Configuration” of GeSHi in Ryan McGeary’s excellent WP-Syntax plugin.
Author: | Grant Rettke (profile at wordpress.org) |
WordPress version required: | 2.0 |
WordPress version tested: | 2.6.0 |
Plugin version: | 1.2 |
Added to WordPress repository: | 12-08-2008 |
Last updated: | 12-08-2008
Warning! This plugin has not 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.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wordpress.org/extend/plugins/wp-syntax... |
Total downloads: | 1 001 |
Click to start download |
Out of the box, WP-Syntax
colors code using the default GeSHi colors.
Per the authors advice in the ‘Advanced Customization’ section of
Other Notes,
you can configure GeSHi yourself by handling the wp_syntax_init_geshi
hook and configuring it programmatically.
Since I wanted to do just that, I decided to publish a generic plugin
for folks who wanted to configure GeSHi following this approach.
Release Notes
1.2 : Set keyword expansion in the plugin file. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.
1.1 : Fixed grammatical errors in the readme.txt. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.
1.0 : First public release. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.