Revision history for SyntaxHighlighter


Revision [1851]

Last edited on 2009-01-31 02:04:48 by DarTar [Removed carriage return]

No Differences

Revision [1294]

Edited on 2008-11-01 23:23:06 by DarTar [Removed HomePage link]
Deletions:
HomePage


Revision [777]

Edited on 2008-02-21 02:21:28 by DarTar [[m] layout]
Additions:
>>==See Wikka in action:==
>>{{since version="1.1.6.0" align="left"}}This is the documentation page for the syntax highlighter.
Deletions:
//GeSHi is included in Wikka since version 1.1.6.0.//
>>**See Wikka in action:**
>>This is the documentation page for the syntax highlighter.


Revision [776]

Edited on 2008-02-21 02:20:07 by DarTar [examples]
Additions:
Usage: ##""%%(formatter[;line-number][;filename]) code %%""##
If ##geshi_line_numbers##in the ConfigurationOptions is enabeld, simply add a ##;line-number## after the language formatter to display line-numbers starting at ##line-number##.
~##""%%(php;""{{color c="red" text="15"}}"")<br /><?php<br />echo "Hello, World!";<br />?><br />%%""##
%%(php;15)
echo "Hello, World!";
If you specify a ##filename##, this will be used for downloading the code.
~##""%%(php;15;""{{color c="red" text="test.php"}}"")<br /><?php<br />echo "Hello, World!";<br />?><br />%%""##
%%(php;15;test.php)
echo "Hello, World!";
=== Available formatters ===
== GeSHi formatters ==
|?|List of available code formatters {{since display="inline" version="1.1.6.4"}}||
||
|=|Language|=|Formatter|=|Language|=|Formatter|=|Language|=|Formatter||
|#|
|=|Actionscript||##actionscript##|=|ADA||##ada##|=|Apache Log||##apache##||
|=|""AppleScript""||##applescript##|=|ASM||##asm##|=|ASP||##asp##||
|=|""AutoIT""||##autoit##|=|Bash||##bash##|=|""BlitzBasic""||##blitzbasic##||
|=|bnf||##bnf##|=|C||##c##|=|C for Macs||##c_mac##||
|=|C#||##csharp##|=|C""++""||##cpp##|=|C""++"" (+QT)||##cpp-qt##||
|=|CAD DCL||##caddcl##|=|""CadLisp""||##cadlisp##|=|CFDG||##cfdg##||
|=|""ColdFusion""||##cfm##|=|CSS||##css##|=|D||##d##||
|=|Delphi||##delphi##|=|Diff-Output||##diff##|=|DIV||##div##||
|=|DOS||##dos##|=|Eiffel||##eiffel##|=|Fortran||##fortran##||
|=|""FreeBasic""||##freebasic##|=|GML||##gml##|=|Groovy||##groovy##||
|=|HTML||##html4strict##|=|INI||##ini##|=|Inno Script||##inno##||
|=|Io||##io##|=|Java 5||##java5##|=|Java||##java##||
|=|Javascript||##javascript##|=|""LaTeX""||##latex##|=|Lisp||##lisp##||
|=|Lua||##lua##|=|Matlab||##matlab##|=|mIRC Scripting||##mirc##||
|=|Microchip Assembler||##mpasm##|=|Microsoft Registry||##reg##|=|""MySQL""||##mysql##||
|=|NSIS||##nsis##|=|Objective C||##objc##|=|""OpenOffice"" BASIC||##oobas##||
|=|Objective Caml||##ocaml##|=|Objective Caml (brief)||##ocaml-brief##|=|Oracle 8||##oracle8##||
|=|Pascal||##pascal##|=|Perl||##perl##|=|PHP||##php##||
|=|PHP (brief)||##php-brief##|=|PL/SQL||plsql|=|Python||##phyton##||
|=|Q(uick)BASIC||##qbasic##|=|robots.txt||##robots##|=|Ruby||##ruby##||
|=|SAS||##sas##|=|Scheme||##scheme##|=|sdlBasic||##sdlbasic##||
|=|Smarty||##smarty##|=|SQL||##sql##|=|TCL/iTCL||##tcl##||
|=|T-SQL||##tsql##|=|Text||##text##|=|thinBasic||##thinbasic##||
|=|Unoidl||##idl##|=|VB.NET||##vbnet##|=|VHDL||##vhdl##||
|=|Visual BASIC||##vb##|=|Visual Fox Pro||##visualfoxpro##|=|""WinBatch""||##winbatch##||
|=|XML||##xml##|=|""ZiLOG"" Z80 Assembler||##z80##|=| || ||
==built-in:==
""%%(php;1) PHP code with line-numbers and filename%%:""
%%(php;1;test.php)
The built-int highlighter does not supported line numbering and is maintained for backwards-compatibility.
Deletions:
Usage: ##""%%(formatter[;line-number]) code %%""##
If "geshi_line_numbers" in the ConfigurationOptions is enabeld, simply add a ;#number after the language name to have line-numbers starting at #number. See the php-example below.
If you specify a filename, this will be used for downloading the code.
==Available formatters==
The following formatters are available:
**from [[http://qbnz.com/highlighter/ | GeSHi]]:**
- 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 (html4strict)
- 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
**built-in:**
""%%(php;1;test.php)""
will result in a downloadable file called test.php.txt - line number starting on line 1 (note, this won't work on wikkawiki.org for now!)
Line numbers are not supported here.


Revision [289]

Edited on 2006-11-19 08:59:35 by YanB [update link to central site + cat.]
Additions:
HomePage
~-Development: [[http://wikkawiki.org/WikkaGeshiIntegration | WikkaGeshiIntegration]].
CategoryEN
Deletions:
[[WikkaDocumentation | Wikka Documentation]]
~-Development: WikkaGeshiIntegration.
CategoryDocumentation


Revision [182]

The oldest known version of this page was created on 2006-08-01 11:47:39 by DarTar [update link to central site + cat.]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki