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

help #109

Closed
jaan143 opened this issue Oct 31, 2021 · 4 comments
Closed

help #109

jaan143 opened this issue Oct 31, 2021 · 4 comments

Comments

@jaan143
Copy link

jaan143 commented Oct 31, 2021

first of all thank you for the script
i need some help about pdf file

  1. when i convert pdf file inside pdf file every image bellow there is image file name showing which i don't want. file names are like this "image-OUTYI5U9.png" "image-JY3NLUO9.jpg"
  2. i want to increase font size of whole pdf file
  3. i want to customize page size but not A4 or latter or A3. So can i add my custom size in inches ? if yes then where can i add it
    kindly help me about this

thank you so much

@elliotblackburn
Copy link
Owner

Hi, no problem I should be able to provide a little help on these.

  1. It would be best if you could provide a sample markdown file + assets which I can use to verify some of the issues. I'd suggest uploading it as a public repo on github so it's easier to access.
  2. you'll need to include your own css stylesheet and probably use --gh-style to force the default style to be applied if you've not already overridden it.
  3. We support the page sizes supported by Chrome (as that's what we use to render out the PDF under the hood). I'm afraid that only supports a limited number of options which you can check on the print to PDF screen in Chrome.

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

@BlueHatbRit Dear
where i can send you sample ?
i want to send it as private so if you have email can tell me i will email you
thank you

@jaan143
Copy link
Author

jaan143 commented Nov 2, 2021

@BlueHatbRit i want to use A5 paper size so how can i use
--format=
--format=A5

please tell me exact command about it
thank you

@elliotblackburn
Copy link
Owner

I would suggest sending a minimal example publicly if you can (create a new github repo, or upload a .zip here). We don't need your actual document, just something that will show the issue you're having.

Yes, --format=A5 should get you an A5 pdf I think, you can checkout the Chrome Puppeteer documentation for specifics but I believe A5 should work.

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

2 participants