The PEAK Developers' Center   Diff for "HelpOnProcessors" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Ignore changes in the amount of whitespace

Differences between version dated 2002-12-12 16:06:09 and 2007-03-25 21:37:59 (spanning 2 versions)

Deletions are marked like this.
Additions are marked like this.

 
Processors work on the data in a code display. You specify which processor to call by using a ''bang path''-like construct in the first line. A bang path 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.
 
For more information on the possible markup, see HelpOnEditing.
For more information on the possible markup, see HelpOnEditing.
 
=== Colorize ===
 
The `Colorize` processor currently knows of Python sources, and can syntax-hilight them. Besides the canonical way to call that processor, MoinMoin also recognizes a traditional bang path on the first line of the script, as long as it contains "`python`".
The `Colorize` processor currently knows of Python sources, and can syntax-hilight them. Besides the canonical way to call that processor, MoinMoin also recognizes a traditional bang path on the first line of the script, as long as it contains "`python`".
 
Example:
{{{

 
=== CSV ===
 
The CSV processor works on so-called ''comma separated values'', though the comma is now usually a semicolon.
The CSV processor works on so-called ''comma separated values'', though the comma is now usually a semicolon.
The first line is considered to contain column titles that are rendered in '''bold''', so when you don't want table headers, leave the first line empty.
 
The bang path can contain "`-`''index''" arguments, to hide certain columns from the output; column indices are counted starting from 1.

0.3;2000-10-25;
0.2;2000-08-26;
0.1;2000-07-29;}}}
{{{

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck