-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teplate parial fallback to data dir doesn't work with absolute path to template #7077
Comments
It never falls back if you specify an absolute path, by design. The thought is that if you specify an absolute path, you really want to use the file that is there. |
aDotInTheVoid
added a commit
to aDotInTheVoid/pandoc-website
that referenced
this issue
Feb 5, 2021
aDotInTheVoid
added a commit
to aDotInTheVoid/pandoc
that referenced
this issue
Feb 7, 2021
jgm
pushed a commit
that referenced
this issue
Feb 7, 2021
xieby1
added a commit
to xieby1/markdown_revealjs
that referenced
this issue
Jun 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: pandoc-nightly-macos-2021-02-04
In directory
/tmp/pandoc_bug
File README.md
File: template.html
Running
./pandoc README.md --template template.html
gives the expected output (see below).However
/pandoc README.md --template /tmp/pandoc_bug/template.html
gives this errorWhile this is true, it should fall back to finding
styles.html
in the templates subdirectory of the user data directory. Indeed this is what happens in the case of the first exampleExpected output
The text was updated successfully, but these errors were encountered: