Help:Syntax Highlighting

You can use the  tag to format code blocks with GeSHi Syntax Highlighting.

Syntax
If no language is specified, "ini" is used as default (see below).

Example
C++ example:

Supported languages
ActionScript, Ada, ANTLR, AppleScript, Assembly (various), Asymptote, Awk, Befunge, Boo, BrainFuck, C, C++, C#, Clojure, CoffeeScript, ColdFusion, Common Lisp, Coq, Cryptol (incl. Literate Cryptol), Crystal, Cython, D, Dart, Delphi, Dylan, Elm, Erlang, Ezhil Ezhil - A Tamil programming language, Factor, Fancy, Fortran, F#, GAP, Gherkin (Cucumber), GL shaders, Groovy, Haskell (incl. Literate Haskell), IDL, Io, Java, JavaScript, Lasso, LLVM, Logtalk, Lua, Matlab, MiniD, Modelica, Modula-2, MuPad, Nemerle, Nimrod, Objective-C, Objective-J, Octave, OCaml, PHP, Perl, PovRay, PostScript, PowerShell, Prolog, Python 2.x and 3.x (incl. console sessions and tracebacks), REBOL, Red, Redcode, Ruby (incl. irb sessions), Rust, S, S-Plus, R, Scala, Scheme, Scilab, Smalltalk, SNOBOL, Tcl, Vala, Verilog, VHDL, Visual Basic.NET, Visual FoxPro, XQuery, Zephir,