diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:10:26 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:10:26 +0000 |
commit | b771051432be70015079ad7e5cb36afa6b6939bf (patch) | |
tree | d0a086c8d93d7466ce68784a684fd1938211521d /README | |
parent | 9f126c15cf4d0f6c2ab14167e11336d4f5f8783e (diff) | |
download | pandoc-b771051432be70015079ad7e5cb36afa6b6939bf.tar.gz |
Added -V/--variable option to set custom template variables.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1685 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -289,6 +289,13 @@ For further documentation, see the `pandoc(1)` man page. template appropriate for the output format will be used. See also `-D/--print-default-template`. +`-V` *key=val*, `--variable=`*key:val* +: sets the template variable *key* to the value *val* when rendering the + document in standalone mode. This is only useful when the + `--template` option is used to specify a custom template, since + pandoc automatically sets the variables used in the default + templates. + `-c` or `--css` *filename* : allows the user to specify a custom stylesheet that will be linked to in HTML and S5 output. This option can be used repeatedly to include @@ -489,9 +496,9 @@ depending on the output format, but include: `css` : links to CSS files, as specified using `-c/--css` -Variables may be set at the command line using the -`--set` option. This allows users to include custom variables in -their templates. +Variables may be set at the command line using the `-V/--variable` +option. This allows users to include custom variables in their +templates. Templates may contain conditionals. The syntax is as follows: |