Home News Examples Demo Downloads FAQ Documentation Mailing Lists License
Support GeSHi!
If you're using GeSHi, why not help GeSHi out? You can link to GeSHi with this image:
Powered by GeSHi
Get the HTML

Project Status
The latest stable version of GeSHi is, released on the 19th of Aug, 2012.

Supported Languages:
*Apache Log
*APT sources.list
*ASM (m68k)
*ASM (pic16)
*ASM (x86)
*ASM (z80)
*Backus-Naur form
*C for Macs
*C++ (with QT)
*Diff File Format
*DOT language
*FourJ's Genero
*INI (Config Files)
*Java 5
*KLone C & C++
*Objective C
*OpenOffice BASIC
*Oracle 8 & 11 SQL
*Pixel Bender
*Progress (OpenEdge ABL)
*Ruby on Rails
*Uno IDL
*VIM Script
*Visual BASIC
*Visual Fox Pro
*Visual Prolog
*Windows Registry Files

GeSHi is the current stable release, with eighteen new languages and bug fixes over the last release.

GeSHi 1.1.2alpha5 is the current latest version from the development branch, with full C support (see the GeSHi development website).
Mailing Lists
HomeNewsExamplesDemoDownloadsFAQDocumentationMailing ListsLicense 
11:03 am GMT

GeSHi News

Here's where you can find out all the latest news about GeSHi - new releases, bug fixes and general errata.

GeSHi phpBB MOD 0.4.0 Released
After a long wait, version 0.4.0 of the GeSHi phpBB MOD has been released. This version features an upgrade of the included GeSHi to and a new SQL installer if you cannot run SQL manually. In addition, I'm pretty sure that it will install with easymod.

Don't forget, of course, that this is alpha software, and overdue for a rewrite (before version 1.0.0 even). I don't think that simple mode works at this time, you can't change the cache directory and there may be other unknown bugs.

In other news, Robert Schultz has created a new website,, which contains over 100 million lines of C and C++ code, all cross-referenced by CodeWorker and syntax-highlighted by GeSHi. It's an impressive resource, and well worth a visit.

And finally, there have been quite a few new language files submitted since the release of GeSHi, so within the next week or two I will be releasing with these files and a few bugfixes.
GeSHi 1.1.0alpha6 Released
Version 1.1.0alpha6 of GeSHi has been released. New to this release is a couple of minor bugfixes, and an improvement for OO highlighting - if a method is actually a keyword, it can be highlighted as such if needed. In particular, javascript uses this.

More info at the GeSHi dev site, and the download is at sourceforge.
GeSHi Released
Version of GeSHi has just been released. This version features a few more languages and one or two minor bug fixes. One bugfix is related to line number highlighting - when using fancy line numbering, the normal style was not being applied. Because the style is now being applied, I urge you to just do a quick check of any code you have highlighted using fancy line numbering, and check that you don't need to call the set_code_style method to rectify any problems, as per the documentation.

Hopefully 1.1.0alpha6 will be released in the next few days also, which will contain better number support and support for "method names that are actually keywords".

Get the release from sourceforge as normal, and enjoy!
Development Resuming
I am now back from my holiday and am in the process of catching up on the stuff I have missed while I was away. So shortly work will re-begin on all aspects of GeSHi.

There will be a release out hopefully in the next couple of weeks that will add a few language files, update old ones, and fix a few minor bugs reported since the 1.0.7 release.

There will also be a 1.1.0alpha6 build soon, which will test a new feature that allows methods in highlighted code to actually be keywords also, and should fix some number highlighting bugs.

And finally, I hope to re-begin work on the GeSHi phpBB mod, cleaning up code and fixing bugs for an 0.4 beta release.
GeSHi 1.0.7 Released
At long last, version 1.0.7 of GeSHi has been released. This is a major bugfix release over the previous versions, and upgrading is strongly recommended. In addition, four new languages have been added, including highlighting for diff output.

Unfortunately many of the bugs that existed before still exist now, as I have been concentrating on "fixable" bugs (I'm talking about the "html comments are closed by a >" bug). The release of 1.0.7 however marks a change to that. From now, minor changes will be numbered 1.0.7.X, and I am planning a 1.0.8 release in the future that will re-do completely the code parsing parts to make things more stable, faster and solve several problems with the current method.

Of course, I will not be concentrating as hard on this as on the 1.1.X parser, which is looking very stable at the moment. I'd also like to thank Brian Hay for his efforts in helping me out - he has been working on language support for Web3D languages such as VRML, and has pointed out many areas for improvement.

I released 1.0.7 today as it exists in CVS, because tomorrow morning I fly out to England for a 5 week holiday. While on holiday I will not reply to my e-mail nor do any work on GeSHi. However, I encourage you to submit bug reports, either by e-mailing me or by submitting them to the tracker at sourceforge (better). That way when I come back I can make a release that fixes those bugs and make 1.0.7.X more stable.

That's all for now. Enjoy the release!
GeSHi 1.1.0alpha5 Released
The fifth alpha of 1.1.0 has been released. This build features inbuilt support for HTML, Javascript and PHP5 and a couple of bug fixes. Unfortunately, my efforts to increase speed by the method I was hoping did not succeed - PHP4 doesn't handle static member variables very well at all (I even encountered a bug in PHP4's object support while attempting the change!).

There is now a roadmap available at for the 1.1.0-1.2.0 development path, which you can check out to see how development will progress.

It seems that GeSHi made the front page news on for the last release - thanks to the guys at sourceforge!

And finally, the GeSHi phpBB mod is now a project on sourceforge also! Check it out at I'm hoping to release 0.4.0 of that before I go to England, next Saturday.
GeSHi 1.1.0alpha4 Released
I'm proud to announce the release of GeSHi 1.1.0 alpha 4: Welcome to the holidays! build. I've completed two of my three exams, and now have two weeks off, so look out for improvements in 1.1.0, hopefully a 1.0.7 release and the release of the next beta of the GeSHi phpBB mod.

New features to this release include auto-linkifying of e-mail addresses and URLs in highlighted source code, CSS support again greatly improved and a language file added for CSS (so you can try highlighting CSS files at the demo form at, the get-keywords script has been improved with new options and now uses its own copy of the PEAR files it needs, and context naming support has been greatly improved, which will lead to an important optimisation in speed and RAM usage in the next build.

The build is available for download at sourceforge as per usual.

While coding this release I got to test the speed of the last build, and contrary to my previous thoughts, it looks like 1.2 may well be faster than 1.0.X after all, possibly quite a bit faster! (Not to mention that the highlighting is a million times better). However, the 1.2 release is going to suck unless I can get people to help me implement support for more languages! Please, if you have good experience in a language you'd like to see supported by GeSHi and a little experience in PHP, flick me an e-mail at nigel at geshi dot org, even if only to express your interest or intent to help! You don't have to have got your language working yet, or even understand how 1.2 will work. I will help you with that when things get more stable, but just for now will people please contact me!

That's all for now - look out for release 0.4.0 beta of the GeSHi phpBB mod this week some time, and 1.0.7 *definately* within the next two weeks :)
GeSHi 1.1.0alpha3 Released
The third alpha of GeSHi 1.1.0 is now available. The chief improvement in this build is greatly reduced RAM usage and time taken to highlight, at the expense of namespace support that nobody would use anyway ;).

The optimisations came about when I was running the parser on a test script that was "average sized", and I found that the 8 megabyte memory limit was not enough! The changes have both fixed this problem and made highlighting faster to boot - the parser is now at least as fast if not faster than the 1.0.6 build for comparable highlighting.

A link to the build is at, where you can find out more.
Development Update
I have finally finished my first trimester at university barring exams, so hopefully I will be able to put a lot more effort into GeSHi and related projects for the next few weeks.

I am planning on getting GeSHi 1.0.7 out this week some time, which will contain a significant number of bug fixes. Also, I hope to get out the third alpha of GeSHi 1.1.0, which should see more improvements and hopefully support for HTML and CSS languages.

Next week, I am planning to restart work on the GeSHi phpBB plugin, and I plan to get out version 0.4.0 of that, which will support bbcode buttons for the posting page and will be based on 1.0.7.

The downside is that after the three weeks I have off, I will be going to England for 5 weeks on holiday, then I will be straight back into university, so there may not be much activity around here for that time.

Take care, and look out for 1.0.7 this week!
GeSHi 1.1.0alpha2 Released
The second alpha of 1.1.0 has been released. This build includes a "simplification" that takes away a feature that I had worked around a while ago in order to simplify and slightly speed up the parsing. The change led to greatly improved CSS support - CSS supports comments, more symbols, class and ID selectors are highlighted, values like "1em" and "#567" are highlighted, all attributes have been added and inline-media support has been added (fixes bug 2).

Get the build from sourceforge as usual. If you find any bugs, please submit them to the new bugtracker.

Finally, I have one week left at university until "study leave". I don't need study, so hopefully I will get GeSHi 1.0.7 out :)