2:44 pm GMT GeSHi - Generic Syntax Highlighter

Latest News News Archive Random Screenshot

Demonstration

Language: GADV 4CS MOS 6502 (6510) ACME Cross Assembler format MOS 6502 (6510) Kick Assembler format MOS 6502 (6510) TASM/64TASS 1.46 Assembler format Motorola 68000 - HiSoft Devpac ST 2 Assembler format ABAP ActionScript ActionScript 3 Ada AIMMS3 ALGOL 68 Apache configuration AppleScript Apt sources ARM ASSEMBLER ASM ASP asymptote Autoconf Autohotkey AutoIt AviSynth awk BASCOM AVR Bash Basic4GL Windows Batch file Brainfuck BibTeX BibTeX BlitzBasic bnf Boo C C (LoadRunner) C (Mac) C (WinAPI) CAD DCL CAD Lisp Ceylon CFDG ColdFusion ChaiScript Chapel CIL Clojure CMake COBOL CoffeeScript C++ C++ (Qt) C++ (WinAPI) C# CSS Cuesheet D Dart DCL DCPU-16 Assembly DCS Delphi Diff DIV DOS dot E ECMAScript Eiffel eMail (mbox) EPC Erlang Euphoria EZT Formula One Falcon FO (abas-ERP) Fortran FreeBasic FreeSWITCH F# GAMBAS GDB genero Genie GNU Gettext glSlang GML Gnuplot Go Groovy GwBasic Haskell Haxe HicEst HQ9+ HTML HTML5 Icon Uno Idl INI Inno INTERCAL Io ISPF Panel J Java Java(TM) 2 Platform Standard Edition 5.0 Javascript JCL jQuery Julia KiXtart KLone C KLone C++ Kotlin LaTeX Liberty BASIC LDIF Lisp LLVM Intermediate Representation Locomotive Basic Logtalk LOLcode Lotus Notes @Formulas LotusScript LScript LSL2 Lua Motorola 68000 Assembler MagikSF GNU make MapBasic Mathematica Matlab M Mercury MetaPost mIRC Scripting МК-61/52 MMIX Modula-2 Modula-3 Microchip Assembler MXML MySQL Nagios NetRexx newlisp nginx Nimrod NSIS Oberon-2 Objective-C Objeck Programming Language OCaml OCaml (brief) GNU/Octave OpenOffice.org Basic ooRexx Oracle 11 SQL Oracle 8 SQL Oxygene OZ ParaSail PARI/GP Pascal PCRE per Perl Perl 6 OpenBSD Packet Filter Phix PHP PHP (brief) PIC16 Pike Pixel Bender 1.0 PL/I PL/SQL PostgreSQL PostScript POVRAY PowerBuilder PowerShell ProFTPd configuration Progress Prolog PROPERTIES ProvideX PureBasic Python (console mode) Python for S60 Python q/kdb+ QBasic/QuickBASIC QML Racket Rails RBScript REBOL Microsoft Registry rexx robots.txt roff RPM Specification File R / S+ Ruby Rust SAS Sass Scala Scheme SciLab SCL sdlBasic Smalltalk Smarty SPARK SPARQL SQL sshconfig StandardML StoneScript Swift SystemVerilog TCL TCLEGG Tera Term Macro TeXgraph Text thinBasic T-SQL Twig TypoScript Unicon (Unified Extended Dialect of Icon) UPC Urbi Unreal Script Vala Visual Basic vb.net VBScript Vedit macro language Verilog VHDL Vim Script Visual Fox Pro Visual Prolog Whitespace Whois (RPSL format) Winbatch Wolfram XBasic XML Xojo Xorg configuration X++ YAML ZiLOG Z80 Assembler ZXBasic Runtime Example --

-- SQL example for GeSHi

--



DROP TABLE IF EXISTS foo;

CREATE TABLE foo (

id INT ( 11 ) NOT NULL AUTO_INCREMENT ,

characters INT ( 11 ) DEFAULT '0' ,

time_taken DOUBLE DEFAULT NULL ,

language_used VARCHAR ( 100 ) DEFAULT NULL ,

SOURCE text ,

time_highlighted datetime DEFAULT NULL ,

PRIMARY KEY ( id )

) TYPE = MyISAM;

