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

How to set --pdf-engine argument? #53

Open
hzqd opened this issue Dec 26, 2023 · 2 comments
Open

How to set --pdf-engine argument? #53

hzqd opened this issue Dec 26, 2023 · 2 comments

Comments

@hzqd
Copy link

hzqd commented Dec 26, 2023

I found the enum PandocOption::PdfEngine(PathBuf), and the apply function.

But I still don't know how to set --pdf-engine argument.

@oli-obk
Copy link
Owner

oli-obk commented Dec 28, 2023

I'm not really maintaining this crate and cannot remember how to do this either. I would have to go through the documentation myself and figure it out. So I'd prefer for someone else to do that work

@thhet
Copy link

thhet commented Oct 16, 2024

pandoc.add_option(pandoc::PandocOption::PdfEngine(PathBuf::from("wkhtmltopdf")));

would result in "--pdf-engine=wkhtmltopdf"

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

No branches or pull requests

3 participants