UserPreferences

HelpOnProcessors


  1. Processors
    1. Colorize
    2. CSV

1. Processors

Processors work on [WWW]the data [WWW]in [WWW]a code display. You specify which processor [WWW]to call [WWW]by using a bang path-like construct in [WWW]the [WWW]first line. A bang path is a concept known from Unix command line scripts, where [WWW]they serve [WWW]the [WWW]exact same purpose: [WWW]the first line tells the shell what program to start to process the [WWW]remaining lines of the script.

For more information on the possible markup, see HelpOnEditing.

1.1. Colorize

The Colorize processor currently knows of Python sources, and can syntax-hilight them. Besides the canonical way to call that processor, MoinMoin also [WWW]recognizes a traditional bang path on the first line of the script, as long as it contains "python".

Example:

  1 
  2 
if lines[0].contains("python"):
    print "colors!"

1.2. CSV

The CSV processor works on so-called comma separated [WWW]values, though the comma is now usually a semicolon. The first line is considered to contain column titles that are [WWW]rendered in bold, so when you don't want table [WWW]headers, leave the first line [WWW]empty.

The bang path can contain "-index" arguments, to [WWW]hide certain columns from the output; column indices are counted starting from 1.

MoinMoin Version History:
Version Date
0.11 2002-03-11
0.10 2001-10-28
0.9 2001-05-07
0.8 2001-01-23
0.7 2000-12-06
0.6 2000-12-04
0.5 2000-11-17
0.4 2000-11-01
0.3 2000-10-25
0.2 2000-08-26
0.1 2000-07-29

xMSx xMSx

Resources:

[WWW]Data Recovery Services [WWW]Hair Loss Treatment [WWW]Leadership Development [WWW]Primary History Teaching Resources [WWW]USA Tours [WWW]Dress Guide [WWW]Undergraduate Courses