What's the best way to get clean 'html compiled to pdf' output without losing formatting? or Does any

16 Replies, 1759 Views

Ugh, wkhtmltopdf is such a headache. Try WeasyPrint! It’s open-source and way better at keeping your styling intact.

Works great for simple stuff, but if you’ve got complex layouts, you might need to tweak the CSS a bit.

Bonus: It’s Python-based, so if you’re into that, it’s a win.

Messages In This Thread



Users browsing this thread: 1 Guest(s)