aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-13 16:51:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-13 16:51:02 -0800
commitec043e0d97fdc864044f7c9e7efaa1b4c733bafb (patch)
tree5a6b576328bbd27c0d8bd1fa3b65f1b51eaf134e /pandoc.hs
parent28a1f50111fdb5871fe3267982e4ea79a24bbe5f (diff)
downloadpandoc-ec043e0d97fdc864044f7c9e7efaa1b4c733bafb.tar.gz
Default files: combine with prior values when appropriate.
Certain command-line arguments can be repeated: `--metadata-file`, `--css`, `--include-in-header`, `--include-before-body`, `--include-after-body`, `--variable`, `--metadata`, `--syntax-definition`. In these cases, values specified in default files should be added to the list rather than replacing values specified earlier on the command line (perhaps in other default files). So, for example, if one does pandoc --variable foo=3 --defaults d1 --defaults d2 and `d1` sets the variable `bar` and `d2` sets `baz`, all three variables will be set. Closes #5894.
Diffstat (limited to 'pandoc.hs')
0 files changed, 0 insertions, 0 deletions