Parsers
Contents
Additionally to the built-in parsers, you can find more of them on ParserMarket.
How Parsers are applied
A parser reads some portion of text, analyzes it and creates some specially formatted output from it. You can choose the parser to use using 2 different techniques:
A #format processing instruction
A #format processing instruction can be used to tell MoinMoin which parser to use for the whole page content. By default this is the wiki parser (for moin wiki markup). For details see: The #format Processing Instruction
A Parser section - see HelpOnFormatting With the use of a parser section, a parser can be applied to only a part of a page. You specify which parser to call by using a shebang-like construct in the first line. A shebang is a concept known from Unix command line scripts, where they serve the exact same purpose: the first line tells the shell what program to start to process the remaining lines of the script.
Example: Processing instruction
This is the complete page contents:
#format creole ... **bold** ...
Example: Parser section
This is a part of a wiki page:
{{{#!csv , a,b,c d,e,f }}}
It renders as:
