aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:10:26 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:10:26 +0000
commitb771051432be70015079ad7e5cb36afa6b6939bf (patch)
treed0a086c8d93d7466ce68784a684fd1938211521d /README
parent9f126c15cf4d0f6c2ab14167e11336d4f5f8783e (diff)
downloadpandoc-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--README13
1 files changed, 10 insertions, 3 deletions
diff --git a/README b/README
index 139ad3c8a..8b5d869a4 100644
--- a/README
+++ b/README
@@ -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: