Honestly, I gave up on libraries and just use Chrome’s built-in print to PDF.
Save your html as a file, open in Chrome, hit Ctrl+P, and choose "Save as PDF."
Weirdly, it’s one of the most reliable ways I’ve found for html compiled to pdf. Just gotta tweak margins sometimes.
Save your html as a file, open in Chrome, hit Ctrl+P, and choose "Save as PDF."
Weirdly, it’s one of the most reliable ways I’ve found for html compiled to pdf. Just gotta tweak margins sometimes.
