Comparing revisions for SyntaxHighlighter
- [3026] 2004-12-09 15:48:53 by NilsLindenberg (unregistered user) [examples added]
- [18109] 2008-01-27 02:34:53 by DarTar (unregistered user) [Migrated to doc server]
Additions:
[[HelpInfo Wikka Documentation]]
----
===== Wikka Syntax Highlighter =====
{{lastedit}}
[[http://qbnz.com/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%%:""
%%(ini)
; 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
%%
""%%(php) PHP code%%:""
%%(php)
<?php
phpinfo();
= "Hello, World!
";
print "";?>
%%
""%%(email) Email message%%:""
%%(email)
Hi!
>>>> 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
----
===== Wikka Syntax Highlighter =====
{{lastedit}}
[[http://qbnz.com/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%%:""
%%(ini)
; 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
%%
""%%(php) PHP code%%:""
%%(php)
<?php
phpinfo();
= "Hello, World!
";
print "";?>
%%
""%%(email) Email message%%:""
%%(email)
Hi!
>>>> 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
Deletions:
This page can now be found on the [[Docs:SyntaxHighlighter Wikka Documentation Server]].
Thanks for updating your bookmarks!
----
An archive of [[http://wikkawiki.org/SyntaxHighlighter/revisions
old revisions of this page]] is still available for reference.<<
::c::
----
CategoryMigratedDocs