aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-11 10:06:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-11 10:06:01 -0700
commit2f32b5316fe2bde18835041f1d45fc363ddb93e4 (patch)
tree610068e338d1323c9878a81f5b8c7ff12822d2d4 /MANUAL.txt
parent9e3e195dd45f298e3d0a66ef36a4e5763256c98f (diff)
downloadpandoc-2f32b5316fe2bde18835041f1d45fc363ddb93e4.tar.gz
More documentation of default files
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 600cc3d23..f98a17fbc 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1575,6 +1575,22 @@ ignore-args: false
trace: false
```
+Fields that are omitted will just have their regular
+default values. So a defaults file can be as simple as
+one line:
+
+``` yaml
+verbosity: INFO
+```
+
+Default files can be placed in the `defaults` subdirectory of
+the user data directory and used from any directory. For
+example, one could create a file specifying defaults for writing
+letters, save it as `letter.yaml` in the `defaults` subdirectory
+of the user data directory, and then invoke these defaults
+from any directory using `pandoc --defaults letter`
+or `pandoc -dletter`.
+
# Templates
When the `-s/--standalone` option is used, pandoc uses a template to