aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-10-31 09:59:36 -0700
committerJohn MacFarlane <[email protected]>2022-10-31 11:29:23 -0700
commit4a47ffb8ba5f67b5e0e430aa65252a67838a0a92 (patch)
tree35746986f597d59b2ecde73df801fc92905ef7d7 /data/templates
parent3e48d9701d955dc1df27f9cfd2eb5111b2cd9c1f (diff)
Text.Pandoc.App: Change `parseOptionsFromArgs` and `parseOptions`...optinfo
They now return `Either OptInfo Opt`. Add `OptInfo` type. Add `handleOptInfo` function. This performs the IO actions for things like `--version` that were previously done in `parseOptionsFromArgs`. An argument for a `ScriptingEngine` has been added, to facilitate printing custom templates and custom extensions for Lua filters. (However, at this stage nothing is yet done with it.) [API change]
Diffstat (limited to 'data/templates')
0 files changed, 0 insertions, 0 deletions