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, called wp-syntax-rettke, for folks who wanted to configure GeSHi following this approach.

4 thoughts on “wp-syntax-rettke”

  1. Pingback: Leonaut.com
  2. I downloaded your plgiun and really like it, but I noticed that the License was Creative Commons and Geishi’s was GPL. You need to release your code under GPL (at least in addition to Creative Commons) other wise you don’t have the right to redistribute iG:Syntax Hiliter. Just FYI. If for some reason you don’t want to to release iG:Syntax Hiliter as GPL you could always ask GeSHi if they care, but otherwise know that you are violating their license currently.

  3. Vielleicht reagieren wir ja so allergisch, weil das rummäkeln und korrigieren unserer Kinder eigentlich eine Kritik an uns ist? Unserem Unvermögen, den Nachwuchs zu anständigen Tischfaschisten zu erziehen zum Beispiel. Und wer lässt sich schon gerne kritisieren. Ich hätte übrigens auch zurück geschnauzt – und mich später vielleicht etwas geschämt. Aber nur etwas und vielleicht.

Leave a Reply

Your email address will not be published. Required fields are marked *