GeSHify0.3.9.1

GeSHify is a source-code syntax highlighting extension for the ExpressionEngine content management system. It is based on the popular open-source PHP syntax highlighting software GeSHi, which currently supports more than 130 different programming languages, among wich are not only big and important languages like C, C++, C# or Java and web languages like PHP, HTML, CSS, SQL or JavaScript, but also lesser-known or esoteric languages, e.g. COBOL, Eiffel, INTERCAL, Brainfuck and Whitespace, just to name a few.

GeSHify wraps this powerful syntax highlighting engine in an easy-to-use extension supporting customizable intelligent caching and switching between different GeSHi versions with a single click. It is also configurable to fit your special needs using a combination of global settings and HTML-style arguments.

Features

what it can do for you

GeSHify automatically recognizes whether your source code or parse settings have changed and serves a cached version of the highlighted source code instead of loading and executing the highlighting software on each page request when possible. Since GeSHi is not the fastest syntax highlighting engine, this ensures your site won't experience a huge performance hit.
The cache timeout and cache location is configurable.

The GeSHify extension comes bundled with both GeSHi 1.0 (the stable version) and GeSHi 1.1 alpha (the current development version) and allows you to switch between both using a simple setting.
Using GeSHi 1.1, however, is heavily discouraged unless you really know what you do – after all, it is alpha-state software and should hence not be used in production environments.

GeSHify overwrites ExpressionEngine's [code]-tag by default; if you want to keep the original behaviour on this tag, GeSHify allows you to customize the keyword and delimiters it uses. Using this configuration option, you could make the extension parse code between {highlight} and {/highlight} or any other similar tag, should you need it.

Using the Extensions Manager, you can change GeSHify's default language, line number style, keyword linking behavior and GeSHi version settings. Changing these options can be useful to modify ExpressionEngine's [code]-tag behavior or to save you some typing in case you frequently want source code to be highlighted using similar settings.

GeSHify allows you to change some of it's settings using an argument syntax similar to HTML attributes per code block. This e.g. allows you to publish two code snippets using different language settings or multiple code blocks using consistent line-numbering on one page.

License

how you can use it

GeSHify is released under the GNU General Public Licese 3.0. This means it is free (as in freedom and as in beer). You can use it for whatever you want, you can redistribute it freely and you can even modify it, as long as you release the modified version under the same license.
I'm not a lawyer, so if you want to know the details, give your lawyer a copy of the license to translate it for you ;).

Download GeSHify

Developers

Clemens Lang
GeSHify is currently being maintained by Clemens Lang
E-Mailclemens@neverpanic.de