Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
candlerb committed Nov 29, 2013
1 parent e363335 commit a9c4f7a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -38,19 +38,24 @@ For each conversion, the parameters are as follows:


from from
: The extension of the input file. May be a YAML or space-separated list. : The extension of the input file. May be a YAML or space-separated list.

to to
: The extension of the destination file to be generated : The extension of the destination file to be generated

match match
: A regular expression - limits this rule to only processing files which : A regular expression - limits this rule to only processing files which
match this expression match this expression

command command
: The command which copies input to output. This is safer if specified : The command which copies input to output. This is safer if specified
as a list rather than a single string (which may be subject to shell as a list rather than a single string (which may be subject to shell
expansion) expansion)

chdir chdir
: The current working directory is changed to this value before : The current working directory is changed to this value before
executing the command. Useful if the command pulls out other files executing the command. Useful if the command pulls out other files
relative to the input file. relative to the input file.

copy_input copy_input
: If true, ikiwiki will also process the input file using its normal : If true, ikiwiki will also process the input file using its normal
rules. For binary files this means copying as-is to the output site. rules. For binary files this means copying as-is to the output site.
Expand All @@ -67,10 +72,13 @@ before passing the command to be executed, not put in environment variables.


$INPUTFILE, $OUTPUTFILE $INPUTFILE, $OUTPUTFILE
: The full path to the input/output file : The full path to the input/output file

$INPUTDIR, $OUTPUTDIR $INPUTDIR, $OUTPUTDIR
: The full path to the directory containing the input/output file : The full path to the directory containing the input/output file

$INPUTNAME, $OUTPUTNAME $INPUTNAME, $OUTPUTNAME
: The filename (without directory but with extension) : The filename (without directory but with extension)

$INPUTEXT, $OUTPUTEXT $INPUTEXT, $OUTPUTEXT
: Just the extension : Just the extension


Expand Down

0 comments on commit a9c4f7a

Please sign in to comment.