-
Notifications
You must be signed in to change notification settings - Fork 519
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
Generating a PDF results in a non A4 format #78
Comments
I don't think it can be set via CSS. I think instead it may need to be added here when it calls With the |
Thanks a lot, @craig-davis !!! |
I've addressed this issue in #84. If that PR is accepted, it will allow users to pass through arguments to the md2resume pdf -k \
--pdfargs="--dpi 300 -s Letter -T 1in -B 1in -L 1in -R 1in --print-media-type" \
-t modern \
./src/resume.md ./ |
Hey there,
After having followed the installation instructions I used the respective command to generate a pdf file. In fact, a pdf file is generated, but its format is not A4 but a really tiny or miniature version sample.pdf
(please see the file below: "sample.pdf").
To generate the pdf file mentioned above I used the following command (as shown in the example section):
./bin/md2resume pdf examples/source/sample.md examples/output/
If I use the command to generate a html file, the resulting output looks like fine (just as the provided example file). Only the pdf generation is different than expected.
Could anybody give me a hint how I could resolve this issue getting a pdf in A4 format (which might be the default setting)? Many thanks in advance!
PS: I have installed the latest version of wkhtmltopdf on my OSX.
The text was updated successfully, but these errors were encountered: