[[WikkaDocumentation | Wikka Documentation]] ---- ====What are formatters and how do they work?==== //The formatter is in charge of converting wiki syntax into HTML output.// >>**See also** - [[FormatterDevInfo | Explanation for developers]] - [[WantedFormatters | Wanted Wikka formatters]] - SyntaxHighlighter - GeSHi -WikkaGeshiIntegration >> If you wrap a block of text in double percent signs, you can display the content in another format/Layout. ::c:: ===Use(r) point of view=== ==Included formatters in Wikka 1.4.2:== - Native: - code - wraps the the block in
 
tags, show as plain text. - csv - formats CSV data - html - publishes HTML pages without the headers, footers, and menu items - wakka - this is the code behind the function $this->Format and is responsible for translating the wiki-code into html-code. - [[ThirdPartyInfo | 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. ) ==Usage:== - ""%%(formatter[;line-number]) code %%"" - Example: %%(ini) [title section] key1=var1 key2=var2%% - Result %%(ini) [title section] key1=var1 key2=var2%% ---- CategoryDocumentation