Skip to content
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

Specify default files by extension #9528

Open
avidseeker opened this issue Feb 29, 2024 · 0 comments
Open

Specify default files by extension #9528

avidseeker opened this issue Feb 29, 2024 · 0 comments

Comments

@avidseeker
Copy link

If $XDG_DATA_HOME/pandoc/templates/default.latex is created, Pandoc will use that files by default when using pandoc in.md -o out.pdf without having to explicitly specify default.latex in the command line.

However, this does not seem the case for "Default Files", where they had to be explicitly added to the command line: pandoc -d latex in.md -o out.pdf.

It would be handy to set a default file to be picked up automatically by Pandoc based on the extension, similar to the way it picks up template files without explicitly specifying them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant