You can use Mediawiki syntax. It is possible that not all formatting options are supported at the moment.
You can link to internal content by using the title of a node. Use [[Node Title]] to link to the node with the corrseponding name. An alternate title can be specified like this: [[Node Title|Link title]]
External links are detected automatically. So just type http://example.com for the link. If you want a different title, use the following syntax: [http://example.com some link title].
You can use interwiki links. Type [[site:Page Title]] to link to a page on a different site. You can use the following interwiki links:
Syntax highlighting of source code can be enabled with the following tags:
<code>".Options and tips:
actionscript" (for ActionScript), "ada" (for Ada), "apache" (for Apache Log), "applescript" (for AppleScript), "asm" (for ASM), "asp" (for ASP), "autoit" (for AutoIT), "bash" (for Bash), "blitzbasic" (for BlitzBasic), "bnf" (for bnf), "c" (for C), "c_mac" (for C (Mac)), "caddcl" (for CAD DCL), "cadlisp" (for CAD Lisp), "cfdg" (for CFDG), "cfm" (for ColdFusion), "cpp" (for C++), "csharp" (for C#), "css" (for CSS), "d" (for D), "delphi" (for Delphi), "diff" (for Diff), "div" (for DIV), "dos" (for DOS), "eiffel" (for Eiffel), "fortran" (for Fortran), "freebasic" (for FreeBasic), "gml" (for GML), "groovy" (for Groovy), "html4strict" (for HTML), "idl" (for Uno Idl), "ini" (for INI), "inno" (for Inno), "io" (for Io), "java" (for Java), "java5" (for Java(TM) 2 Platform Standard Edition 5.0), "javascript" (for Javascript), "latex" (for LaTeX), "lisp" (for Lisp), "lua" (for Lua), "matlab" (for Matlab M), "mirc" (for mIRC Scripting), "mpasm" (for Microchip Assembler), "mysql" (for MySQL), "nsis" (for NSIS), "objc" (for Objective C), "ocaml" (for OCaml), "ocaml-brief" (for OCaml), "oobas" (for OpenOffice.org Basic), "oracle8" (for Oracle 8 SQL), "pascal" (for Pascal), "perl" (for Perl), "php" (for PHP), "php-brief" (for PHP), "python" (for Python), "qbasic" (for QBasic/QuickBASIC), "reg" (for Microsoft Registry), "robots" (for robots.txt), "ruby" (for Ruby), "sas" (for SAS), "scheme" (for Scheme), "sdlbasic" (for sdlBasic), "smalltalk" (for Smalltalk), "smarty" (for Smarty), "sql" (for SQL), "tcl" (for TCL), "text" (for Text), "thinbasic" (for thinBasic), "tsql" (for T-SQL), "vb" (for Visual Basic), "vbnet" (for vb.net), "vhdl" (for VHDL), "visualfoxpro" (for Visual Fox Pro), "winbatch" (for Winbatch), "xml" (for XML).<foo>" it is also possible to use "[foo]".Defaults:
Examples:
| You type | You get |
|---|---|
<code>foo = "bar";</code> | Inline code with the default syntax highlighting mode. |
<code> | Code block with the default syntax highlighting mode. |
<code lang="winbatch" linenumbers="normal"> | Code block with syntax highlighting for Winbatch source code and normal line numbers. |
<code language="winbatch" start="23" fancy="7"> | Code block with syntax highlighting for Winbatch source code, line numbers starting from 23 and highlighted line numbers every 7th line. |
You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example: Suppose you uploaded three files (in this order):
[inline:1=test] or [inline:imag1.png=test]will be replaced by
<img src=imag1.png alt=test>
[file:1=test] or [file:imag1.png=test]will be replaced by
<a href=imag1.png>test</a>
[attachment:2=test] or [attachment:file1.pdf=test]will be replaced by
<a href=file1.pdf.png>test</a>