Plugin Directory

WP-GeSHi-Highlight — simple, fast, and reliable syntax highlighting

Syntax highlighting for many languages. Simple usage. Based on GeSHi, an established and rock-solid highlight engine. Valid HTML output.

1.3.0 (2015-06-18)

  • Enhance compatibility of the default stylesheet with a large range of themes by increasing the specificity of certain CSS selectors and by adding more style directives. This ensures a better out-of-the-box experience. Thanks to Pascal Krause for reporting an incompatilibity with Twenty Ten.

1.2.4 (2015-06-17)

  • Increase compatibility with CDNs: fix double slash appearing in CSS file URL.
  • Remove redundant call to wp_register_style().
  • Change style sheet ID prefix, add newline characters to GeSHi CSS code output.
  • Improve code documentation and readability.

1.2.3 (2015-01-12)

  • Update GeSHi to (language file updates).

1.2.2 (2014-05-26)

  • Improve default CSS (add box-shadow:none to pre block, override external setting).

1.2.1 (2014-05-21)

  • Use plugin_dir_path/url() instead of obsolete WP_PLUGIN_DIR/URL constants (improve compatibility with HTTPS-driven websites).
  • Remove obsolete screenshot from release.
  • Minor code cleanup.

1.2.0 (2014-04-16)

  • Update GeSHi to git state of 2014-04-16 (tons of language updates).
  • Largely improve default style, for compatibility with modern browsers.

1.1.0 (2013-06-22)

  • Adjust default style for compatibility with Twentythirteen theme.
  • Remove GeSHi's hard-coded font-size and line-height code styles.
  • Reduce box shadow and border radius in default style.
  • Slightly increase top and bottom padding in default style.

1.0.8 (2013-01-17)

  • Improve default stylesheet: make use of CSS3 box shadows, several tweaks.
  • If the code block style file is found in the theme style directory, it now has priority over the one in the plugin directory.
  • Update GeSHi to (numerous language file updates).
  • Include GeSHi language file for nginx configuration files (taken from GeSHi SVN revision r2572, to be released with
  • Use wp_enqueue_style method for style sheet inclusion.
  • Deactivate GeSHi economic mode when printing style sheet.
  • Do not print credits to HTML source anymore.

1.0.7 (2012-05-12)

  • Fix collision with other plugins including their own version of GeSHi (thanks to Bas for reporting).

1.0.6 (2012-05-12)

  • Fix line-spacing bug when displaying code blocks with different line numbering settings on the same page (thanks to Bas ten Berge for reporting).

1.0.5 (2011-02-27)

  • Update GeSHi to ("Some minor parser tweaks and fixes to existing language files. It adds 15 more languages.").

1.0.4 (2011-01-12)

  • Optimize: now, CSS code is only printed once if the same language is used for multiple code blocks on the same page.
  • Minor code changes.

1.0.3 (2011-01-06)

  • Fix: comments are not always showing up (thanks to Uli for reporting).

1.0.2 (2011-01-04)

  • Minor code changes.
  • Remove beta tag.

1.0.1-beta (2010-12-18)

  • Fix: highlight in comments not always showing up.

1.0.0-beta (2010-11-22)

  • Initial release.

Requires: 3.0 or higher
Compatible up to: 4.2.5
Last Updated: 5 months ago
Active Installs: 1,000+


4.4 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0 100,1,1 100,1,1
100,1,1 100,1,1