Revision [3026]
This is an old revision of SyntaxHighlighter made by NilsLindenberg on 2004-12-09 15:48:53.
Wikka Syntax Highlighter
GeSHi is now hooked into Wikka.
Usage: %%(formatter) code %%
The following formatters are available:
- Actionscript
- ADA
- Apache Log (apache)
- ASM
- ASP
- Bash
- C
- C for Macs (c_mac)
- C# (csharp)
- C++ (cpp)
- CAD DCL (caddcl)
- CadLisp
- CSS
- Delphi
- HTML
- Java
- Javascript
- Lisp
- Lua
- NSIS
- Objective C (objc)
- OpenOffice BASIC (oobas)
- Pascal
- Perl
- PHP
- Python
- Q(uick)BASIC (qbasic)
- Smarty
- SQL
- VB.NET (vbnet)
- Visual BASIC (vb)
- Visual Fox Pro (visualfoxpro)
- XML
Examples
%%code%%:
int main(int arc,char **argv) { printf("Hello, %s! ", (argc>1) ? argv[1] : "World"); return 0; }
%%(ini) INI file contents%%:
; Menu specification file for Opera 7.0
[Version]
File Version=2
[Info] #background info
Name=Munin++ Menu
Description=Munin++ Menu
Author=NonTroppo (originally by Rijk van Geijtenbeek)
Version=1.9
[Version]
File Version=2
[Info] #background info
Name=Munin++ Menu
Description=Munin++ Menu
Author=NonTroppo (originally by Rijk van Geijtenbeek)
Version=1.9
%%(php) PHP code%%:
%%(email) Email message%%:
Hi!
>>>> My Llama loves foot massage.
>>> You really think so?
>> Yes, I know he does.
>Are you sure?
Of course, yes!
Mr. Scruff
>>>> My Llama loves foot massage.
>>> You really think so?
>> Yes, I know he does.
>Are you sure?
Of course, yes!
Mr. Scruff
Give it a thorough testing, and if all is well, it will be released in the upcoming version. -- JsnX
CategoryDevelopment CategoryDocumentation