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 
6:46 am GMT

GeSHi News

Here's where you can find out all the latest news about GeSHi - new releases, bug fixes and general errata. using GeSHi
Ben Vautier wrote in to say that is using GeSHi for syntax highlighting of SQL. SQLRecipies allows you to post SQL related questions and have others answer them for you. It's great to see more and more sites providing syntax highlighting to make code just that much more readable :)
GeSHi 1.1.1alpha5 Released
Finally I've managed to get a long awaited update to the GeSHi development branch out. This release is the next alpha on the way to 1.1.1, and hopefully the last.

New features include:

* Subthemes - for example themes could be made for multiple versions of an IDE
* Language file format change - now you only have to write two or three files to support a language instead of the 6 or more you had to write before. The format is much easier to understand and quicker to load, and in general makes life much easier for a GeSHi language file developer.
* C language - thanks to Netocrat, C syntax highlighting is supported to a very good degree. There's still some work to do, but it looks very nice.
* Improvements to Java - Java highlighting is now pretty much feature complete, with variables, static class names, imports and more highlighted.
* Many bug fixes and enhancements - it's been five months or so since the last release, and a lot has happened in that time.

I'd like to thank all the people who have been helping me out over that time, whether by participating on the bug tracker, helping to write language files or simply e-mailing me with their thoughts. Please keep it coming! If you know a language well and want to help out, now is the time to get in touch with me, so that the new language file format can be put through its paces.

The next release after this in the development branch will probably be 1.1.1beta1. I don't anticipate too many issues, and after 1.1.1 development can continue on new features, like proper balancing of contexts, an improvement that will allow detection of keywords broken in to bits by newlines (like in C) and more. Caching will follow in 1.1.3, as well as the beginnings of attempts to optimise slow parts of the source. After 1.1.5 I will begin re-implementing the old API, and things will begin to get very interesting :)

Enjoy this release :). Please test if you're able to, I would be most thankful for any feedback.
Code Snippet Project using GeSHi
Hi all,

Francois Zaninotto wrote in to tell me about a new code snippet application based on the Symfony framework. It's called snipeet and allows users to publish, rate, comment on and moderate code snippets. A live demo is available.

If you're project is using GeSHi, why not tell me about it? I'll be happy to sing your praises if your project is making use of GeSHi :)
GeSHi Released
The May maintenance release of GeSHi 1.0.X is now available. Changes include the addition of 5 new languages, bringing the total to 68, and a few minor bug fixes. The languages added are TCL, Winbatch, Groovy, Reg (Windows Registry) and a "text" language that allows you to utilise GeSHi's formatting without actually performing a specific language highlight.

I'd like to thank the people at for their donation also. They are using GeSHi on their forums and I'm very grateful to them for giving something back :). Thanks guys!

On the development side, there has been quite a bit of 1.1.X development since last month, with me finally having finished some other projects. Thanks to Netocrat support for C highlighting is available and looking very good. Also, I have converted the language file format to a new format that is better in nearly every way, and has dramatically decreased language loading times. I am
going to try and get out a new alpha some time soon, perhaps next weekend.

Enjoy the new release :)
GeSHi Released
This monthly maintenance release features three new languages - fortran, SAS and CFDG, and various bug fixes - for examples to XHTML compliance and backslash-removal. Get it from the usual place.

As for 1.1.X, things are coming along nicely. I've been converting the language files to a new format which means that only one file is required to define a language, which makes loading much faster. It's a bit simpler and more powerful also. When I get that job done I will release a new alpha.
GeSHi Released
The latest monthly maintenance release is now available. New to this release is improvements to the regular expression/keyword matcher that should now allow you to put more "interesting" characters in keywords, like # for example. There's a few bug fixes to some other languages and improvements to diff highlighting also.

You may wonder what's happening with the 1.1.X branch. Well, I haven't done too much on it recently for various reasons, but a voluntary project I'm working on is drawing to a close (and another one I was doing is now complete enough for me to ignore), and soon I will become the owner of a Dell 9400 laptop, which should increase the amount of time I can spend coding. Of course 1.2 is still a long way off, etc. etc, but good things take time :)
GeSHi Released
A little overdue, due to the 22nd being in the middle of the week, but has now been released. There's been a few more languages added, namely ColdFusion, T-SQL, Robots.txt, AutoIT and Java 5, and a couple of bug fixes.

The next GeSHi 1.0.X release will be next month around the 22nd (it is my brother's birthday that day so possibly not exactly then).
GeSHi 1.1.1alpha4 Released
The fourth alpha of GeSHi 1.1.1 has been released. New in this release is theming support, although at this time the only theme that is reasonably complete is the PHP highlight_string style theme. Still, more themes will be coming in future versions.

In addition, there has been more improvements to java and delphi highlighting.

The next alpha will be focused around changes to language file structure, and as such there probably won't be many highlighting improvements. After that alpha, hopefully 1.1.1 should follow shortly.

I still need people to assist with developing language files. I am endeavouring to get the language development tutorial up and running as quickly as I can, so people will find it easier to get a start on development.

Finally, (stable branch) is scheduled for around the 22nd of February as per usual. There is not too many changes at this time however.
GeSHi Released
Hi all, a belated happy new year :).

GeSHi is now available for download. It contains numerous minor bug fixes and highlighting improvements for some languages. This is the first of this year's monthly updates, of which hopefully this should be the last year of those. I'm hoping 2006 will be the year of 1.2, and currently development is steaming along nicely.

Currently 1.2 has theming support checked into CVS. What is theming support? Well, it allows you to do this:

$geshi =& new GeSHi($source, $language);
echo $geshi->parseCode();

And the code will be highlighted as if your favourite IDE had highlighted it!

There's plenty of other improvements and bug fixes in CVS, so I hope to get out an alpha build soon.
Christmas Update
Hi all,

Due to christmas being around the corner and a decided lack of changes made to GeSHi 1.0.X, I'm not releasing a maintenance version today. I'll release it next year on the 22nd of January instead. Hopefully, because I have some time off before then, I can do some work on it.

One of the reasons why I couldn't release a new version this time is that I have been doing much work on the new parser instead. The new version now supports "themes" - so for example you can say "highlight my code the way VIM does it" - and it will be so, rather than being stuck with the colours that the language makers think are nice. The next alpha will see this change, I hope to get that out next week.

Enjoy yourselves over the christmas period :)