Navigation
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 1.0.8.9, released on the 22nd of July, 2010.

Supported Languages:
*ABAP
*Actionscript
*ADA
*Apache Log
*AppleScript
*APT sources.list
*ASM (m68k)
*ASM (pic16)
*ASM (x86)
*ASM (z80)
*ASP
*AutoIT
*Backus-Naur form
*Bash
*Basic4GL
*BlitzBasic
*Brainfuck
*C
*C for Macs
*C#
*C++
*C++ (with QT)
*CAD DCL
*CadLisp
*CFDG
*CIL / MSIL
*COBOL
*ColdFusion
*CSS
*D
*Delphi
*Diff File Format
*DIV
*DOS
*DOT language
*Eiffel
*Fortran
*FourJ's Genero
*FreeBasic
*GetText
*glSlang
*GML
*gnuplot
*Groovy
*Haskell
*HQ9+
*HTML
*INI (Config Files)
*Inno
*INTERCAL
*IO
*Java
*Java 5
*Javascript
*KiXtart
*KLone C & C++
*LaTeX
*Lisp
*LOLcode
*LotusScript
*LScript
*Lua
*Make
*mIRC
*MXML
*MySQL
*NSIS
*Objective C
*OCaml
*OpenOffice BASIC
*Oracle 8 & 11 SQL
*Pascal
*Perl
*PHP
*Pixel Bender
*PL/SQL
*POV-Ray
*PowerShell
*Progress (OpenEdge ABL)
*Prolog
*ProvideX
*Python
*Q(uick)BASIC
*robots.txt
*Ruby
*Ruby on Rails
*SAS
*Scala
*Scheme
*Scilab
*SDLBasic
*Smalltalk
*Smarty
*SQL
*T-SQL
*TCL
*thinBasic
*TypoScript
*Uno IDL
*VB.NET
*Verilog
*VHDL
*VIM Script
*Visual BASIC
*Visual Fox Pro
*Visual Prolog
*Whitespace
*Winbatch
*Windows Registry Files
*X++
*XML
*Xorg.conf

GeSHi 1.0.8.9 is the current stable release, with nine 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).
Subscribe
RSS 2
Mailing Lists
Freshmeat
Project Record
Vitality:
Popularity:
Rating:
Subscriptions:
HomeNewsExamplesDemoDownloadsFAQDocumentationMailing ListsLicense 
2:21 pm GMT

GeSHi - Generic Syntax Highlighter

http://images.hotscripts.com/dynamic/rating.gif?37114

Welcome to the home of the Generic Syntax Highlighter - GeSHi. GeSHi started as an idea to create a generic syntax highlighter for the phpBB forum system, but has been generalised to this project. GeSHi aims to be a simple but powerful highlighting class, with the following goals:
  • Support for a wide range of popular languages
  • Easy to add a new language for highlighting
  • Highly customisable output formats


GeSHi aims to do this all as quickly as possible. Many customisable features of GeSHi facilitate speed increases, and you can easily find a balance between the amount of highlighting done and the speed in which it is done.

GeSHi supports PHP5 and Windows, and has even been used to highlight code on ASP pages. Numerous blogs, wikis and forums use GeSHi, including Dokuwiki, Mambo, phpBB and WikkaWiki.

GeSHi is an award winning piece of software - so you know you're using a top quality product.
 

Latest News

GeSHi 1.0.8.8 Released
2010/05/23
Again there have been some important changes in this new release. It contains alot of bugfixes over earlier releases and adds 15 more languages thus making a total of 177 supported languages.

This release doesn't introduce any changes into the parser but basically fixes many issues with highlighting that people noticed in the language files,

As already noted previously there's a problem with PCRE not working properly with some large sources: As I'm not a developer of PCRE, but a mere user I ask you to report issues with PCRE bugs upstream to them, not me. But at least: GeSHi now get's PCRE syntax right. when highlighting.

More information on current GeSHi developement can be found in my blog.

Download from the usual place, bug reports to the sf.net tracker please etc. etc...

BenBE.

GeSHi 1.0.8.7 Released
2010/02/14
Again there have been some important changes in this new release. It contains alot of bugfixes over earlier releases and adds 5 more languages thus making a total of 162 supported languages.

Yet again this release doesn't introduce that many changes into the parser but basically fixes some smaller issues with highlighting that people noticed affecting string highlighting, Pascal-style range operators and other minor issues that need to be taken care on the parser level.

But the vast majority of changes affects the language files bundled with GeSHi that hold loads of changes and improvements over previous releases.

As already noted previously there's a problem with PCRE not working properly with some large sources: As I'm not a developer of PCRE, but a mere user I ask you to report issues with PCRE bugs upstream to them, not me.

More information on current GeSHi developement can be found in my blog.

Download from the usual place, bug reports to the sf.net tracker please etc. etc...

BenBE.

GeSHi 1.0.8.6 Released
2009/12/26
Again there have been some important changes in this new release. It contains alot of bugfixes over earlier releases and adds 11 more languages thus making a total of 157 supported languages.

This time the release mostly consisted mostly of bugfixes and improvements to language files. The only parser update has been a rework of number support to make it become a bit more stable in cases where numbers are part of a keyword URL - and thus invalid HTML has been produced. The root cause is inherent, but this update should fix most cases that caused trouble in the past.

As already noted previously there's a problem with PCRE not working properly with some large sources: As I'm not a developer of PCRE, but a mere user I ask you to report issues with PCRE bugs upstream to them, not me.

More information on current GeSHi developement can be found in my blog.

Download from the usual place, bug reports to the sf.net tracker please etc. etc...

BenBE.

GeSHi 1.0.8.5 Released
2009/09/10
Again there have been some important changes in this new release. It contains alot of bugfixes over earlier releases and adds 7 more languages thus making a total of 146 supported languages.

Besides the many bugfixes in the language files there are some formal bugfixes with the parser where certain conditions could lead to invalid or improper code being generated.

As already noted previously there's a problem with PCRE not working properly with some large sources: As I'm not a developer of PCRE, but a mere user I ask you to report issues with PCRE bugs upstream to them, not me.

More information on current GeSHi developement can be found in my blog.

Download from the usual place, bug reports to the sf.net tracker please etc. etc...

BenBE.

GeSHi 1.0.8.4 Released
2009/05/23
Again time has passed and there have been some more or less important changes in this new release. It contains alot of bugfixes over earlier releases and adds 6 more languages thus making a total of 138 supported languages.

Besides the many bugfixes in the language files there is one quite important change language file developers should take care of: GeSHi now highlights keywords BEFORE highlighting regexps thus allowing languages like LaTeX to link known keywords while still highlighting unknown commands via regexp. This feature comes with a small price: You have to take care of how you link your keywords and how your regexps operate to not interfere with the already highlighted keywords.

Also I noticed a problem with PCRE not working properly with some large sources: As I'm not a developer of PCRE, but a mere user I ask you to report issues with PCRE bugs upstream to them, not me.

More information on current GeSHi developement can be found in my blog.

Download from the usual place, bug reports to the sf.net tracker please etc. etc...

BenBE.

News Archive

Random Screenshot

[small1.png: Click for a larger view]

Demonstration


Language:  

Runtime Example