docusaurus-pdf icon indicating copy to clipboard operation
docusaurus-pdf copied to clipboard

Option to add margin around PDF

Open srevinsaju opened this issue 4 years ago • 4 comments

Is it possible to add a standard margin around the generated PDF? Thanks!

srevinsaju avatar Jul 03 '20 07:07 srevinsaju

I think we should add this as a feature. The four margin properties could be set as an additional CLI option.

What do you think @KohheePeace @aloisklink?

maxarndt avatar Jul 03 '20 07:07 maxarndt

@maxarndt yes, agree 👍 Pass four side margin parameter in cli command.

kohheepeace avatar Jul 03 '20 08:07 kohheepeace

:+1: from me too, I'm happy to implement it this weekend, unless anyone else particularly wants to?

Maybe it's also worth adding a page size option, since in the US they usually use US Letter, not A4.

aloisklink avatar Jul 03 '20 08:07 aloisklink

@aloisklink yay!🎉

kohheepeace avatar Jul 03 '20 08:07 kohheepeace