Os programadores devem saber o que é o
GeSHi, para os restantes provavelmente não deverá interessar. Esta é mais uma das novas features da nova versão do +tráfego que vamos lançar em breve. No entanto, esta funcionalidade não tem porque não estar já disponível a partir de agora. Aliás, já devia estar implementada há muito tempo, desculpem o esquecimento.
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
Supported languages:
* Actionscript
* ADA
* Apache Log
* AppleScript
* ASM
* ASP
* Bash
* C
* C for Macs
* C#
* C++
* CAD DCL
* CadLisp
* CSS
* Delphi
* DIV
* DOS
* Eiffel
* FreeBasic
* GML
* HTML
* Inno
* Java
* Javascript
* Lisp
* Lua
* Microprocessor ASM
* NSIS
* Objective C
* OCaml
* OpenOffice BASIC
* Oracle 8 SQL
* Pascal
* Perl
* PHP
* Python
* Q(uick)BASIC
* Ruby
* Scheme
* SDLBasic
* Smarty
* SQL
* VB.NET
* Visual BASIC
* Visual Fox Pro
* XML
Exemplos:<?php echo 'nice piece of great code' ?>
$maistrafego = "GeSHi";
if ( $maistrafego == "GeSHi" ) {
echo "Nice fucking feature!<br />";
}
echo "Nobody cares!";