GeSHi

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Generic Syntax Highlighter
Geshi.png
Developer(s) Nigel McNie, Benny Baumann
Stable release 1.0.8.10 / February 11, 2011; 10 months ago (2011-02-11)
Development status Active
Written in PHP
Operating system Cross-platform
Type Syntax highlighting
License GPL
Website http://qbnz.com/highlighter/

GeSHi or Generic Syntax Highlighter is a free software library that allows syntax highlighting of source code for several markup and programming languages. The program is written in PHP and is bundled or available as an add-on in popular web-based applications, such as Dokuwiki, Mambo, MediaWiki (see extension), phpBB and WikkaWiki. Wikipedia uses GeSHi as its primary syntax highlighter.

Contents

[edit] Features

Among its notable features:

  • Fully CSS-driven output
  • Supports about 201 markup and programming languages
  • Extensibility via custom language files
  • XHTML 1.1 and CSS Level 2 compliance
  • Auto-caps/noncaps of keywords
  • Line numbering
  • Word wrapping
  • Automatic generation of links to programming language documentation

[edit] History

GeSHi was originally designed as a module to introduce syntax highlighting in the phpBB board system. Later, it was made to work without a phpBB as a stand-alone library.

After a long time of inactivity the project was handed over to Benny Baumann on March 15, 2008.

[edit] Software which utilises GeSHi to colour files

[edit] Free GeSHi WebService

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages