We can use puppeteer to render pdf from html, should I create an example ?
Also It would be easy to create a design, using html & css for pdfs.
I like this idea.
i like puppeteer. go ahead @tolgaerdonmez
All right, lets give it a try :)
Sounds good :smiley:
Just to add my 2 cents, in the past I have used https://www.npmjs.com/package/html5-to-pdf (uses puppeteer in the backend) along with mustache template library to generate pdf reports.
That's also good, we can start with bare puppeteer than switch to that if we're going to use this approach.
I've also used handlebars to setup a main template for the pdf.
Should I also include handlebars or should I keep it simple.
We will need handlebars or something, but if you can just keep a static html version of the same template so that we can show others what is happening and what handebars is doing.
That's a good idea, I'll do that, thanks.
I created the pull request, could you review it pull request
Should we close this now ?
I explained the code here
Awesome 馃敟
@proful
Most helpful comment
I explained the code here