JarvusInnovations / puppeteer-cli

A general command-line wrapper for puppeteer. Currently only supports one command—`print`—to render a local/or remote HTML file to PDF. Aims to be a easy replacement for the deprecated wkhtmltopdf.
MIT License
54 stars 25 forks source link

pdf options magicformat, emulatemedia, scale and injectjs #13

Open wingsuitist opened 4 years ago

wingsuitist commented 4 years ago
themightychris commented 4 years ago

@wingsuitist these are awesome additions, thanks for contributing! Forgive my slow follow-up, would you mine making some of the tweaks I requested?

wingsuitist commented 4 years ago

Thx! I'll look at it asap.

wingsuitist commented 4 years ago

Here are the fixes to my best understanding. Thank you for the outstanding feedback. https://github.com/JarvusInnovations/puppeteer-cli/pull/13/commits/0ccc85a1141ba8ea71fd631b50ddf820f58afaed