Wikka Documentation
The formatter is in charge of converting wiki syntax into HTML output.
If you wrap a block of text in double percent signs, you can display the content in another format/Layout.
- Native:
- code - wraps the the block in <pre> </pre> tags, show as plain text.
- email - add every reply in another color.
- ini - highlighting for ini-file format.
- php - based on the PHP highlight_string function.
- wakka - this is the code behind the function $this->Format and is responsible for translating the wiki-code into html-code.
- 3rd Party:
- GeSHi - see SyntaxHighlighter for a list of all supported syntax.
- (SafeHTML can also be seen as a formatter of safe html code, but is accessed by wrapping the code in double-double-quote signs. )
- %%(formatter[;line-number]) code %%
- Example:
%%(ini)
[title section]
key1=var1
key2=var2%%
[title section]
key1=var1
key2=var2
CategoryDocumentation