3 ms·
I use this via the Ruby gems pdfkit and wkhtmltopdf-heroku in a service I built in Rails. It's been a fantastic, near-bulletproof way to generate attractive, co
by aaronbrethorst 6y ago
I use this via the Ruby gems pdfkit and wkhtmltopdf-heroku in a service I built in Rails. It's been a fantastic, near-bulletproof way to generate attractive, complex PDFs with minimal effort.
https://github.com/pdfkit/pdfkit https://github.com/pdfkit/pdfkit
https://github.com/rposborne/wkhtmltopdf-heroku https://github.com/rposborne/wkhtmltopdf-heroku
- pmontra 6y agoI also use it in that way but not on Heroku. My single largest complaint is that it cuts lines in two at the end of pages, as in the top half of this line on page 1, the bottom half on page 2. I didn't find a way to CSS out of that. To be fair, my customer never allocated budget to find a solution so that is probably not very important to them in our scenario.