Open cbleslie opened 6 years ago
Yeah, there are tons of other open source options, you don't need to be uising prince.
Setting up a way to build with a more open option like Puppeteer would be welcome.
https://github.com/thomaspark/pubcss/pull/13
PR for this issue. ;)
@cbleslie if you look at the outputs of Chrome they do not match prince
@limeb Totally not perfect. I would love help with the issues, feel free to raise a PR if you have the time to look into rendering.
I figure we could make a gulp build, and run puppeteer (headless chrome) to export the PDF's? Thoughts?
https://github.com/GoogleChrome/puppeteer has an example of creating a PDF from a page:
Addtional docs: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagepdfoptions