@@ -21,20 +21,12 @@ Pandoc comes with a default template for (almost) every output
2121format. A template is a plain text file containing variables
2222that are replaced by text generated by pandoc. For example,
2323the variable `$body$` will be replaced by the document body,
24−and `$title$` by the title from metadata. Variables will
25−be automatically populated by the contents of like-named
26−metadata fields (with proper escaping). (See
27−[YAML metadata blocks](/MANUAL.html#extension-yaml_metadata_block)
28−for documentation on setting metafields in pandoc markdown
29−documents; the command line option
30−[`--metadata`](/MANUAL.html#option--metadata) can also be
31−used.) Values for variables can also be specified directly
32−from the command line using `--variable` (which does no escaping).
24+and `$title$` by the title from metadata.
3325
3426To look at the default template for an output format, you can do
3527`pandoc -D FORMAT`, where `FORMAT` is replaced by the name of
36−the format. You can also replace the defaults with your
37−own custom templates, either by using the `--template` option
28+the format. For example `pandoc -D latex`. You can also use your
29+own template instead, either by using the `--template` option
3830or by putting the custom template in your user data directory
3931(on linux and macOS, `~/.pandoc/templates/`).
4032