2

I'm trying to generate a PDF from a website (https://devhints.io/react) on Ubuntu, but the two packages I tried (htmldoc and htmltopdf) both split the code at onto separate pages. I'm trying to have the code blocks on one page or start a new page and then have the title of the code block and the code block.

Any ideas?

Comments
  • 2
    When I had an issue with this I'd just delete parts of the page with developer mode until everything fit well.
  • 0
    damn, that's a tough one and it's way easier from pdf to html, but as above said, usually deleting shit, like paddings, margins etc. helps, great site btw, thanks
Your Job Suck?
Get a Better Job
Add Comment