diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-06 15:45:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-06 15:47:09 -0800 |
commit | a5efd2af11849b6fa55b40d188cc9925bfa4ab9f (patch) | |
tree | 564e90a44dde858602189879f96259c09b79c58c /src/Text/Pandoc/Data.hsb | |
parent | f6fe430400298d1fcda030ad37737be485df756d (diff) | |
download | pandoc-a5efd2af11849b6fa55b40d188cc9925bfa4ab9f.tar.gz |
Improved default template lookup for custom lua scripts.
Previously, if you tried to do `pandoc -s -t /path/to/lua/script.lua`,
pandoc would look for the template in
`~/.pandoc/templates/default./path/to/lua/script.lua`.
With this change it will look in the more reasonable
`~/.pandoc/templates/default.script.lua`.
This makes it possible to store default templates for custom
writers.
Closes #2625.
Diffstat (limited to 'src/Text/Pandoc/Data.hsb')
0 files changed, 0 insertions, 0 deletions