Hacker News new | ask | show | jobs
by kypro 2093 days ago
Could someone elaborate? How does this work?

Do you create a HTML document then print the output as a PDF with headless Chrome?

1 comments

Yes exactly, HTML document using whatever templating language you want (or even client-side JavaScript framework since Chrome can handle that too) and then output a PDF.