Tag Archives: GeSHi

How to use GeSHi for syntax highlighting with WordPress and DokuWiki

2013-05-01 1 comment

WordPress Install the WordPress plug-in “WP-GeSHi-Highlight“. Check if GeSHi has been set to use a CSS file instead of inline styles. It’s already the default for “WP-GeSHi-Highlight”. If in doubt, search in <site>/wp-content/plugins/wp-geshi-highlight/wp-geshi-highlight.php for $geshi->enable_classes(). Applying your own style: By default, the wp-geshi-highlight.css in the plugin directory is inserted in the HTML head. You can… »»»