Open perfectfoolish opened 10 years ago
I'm on a Mac so I use Safari and use the Print -> Save as PDF feature:
(I use Safari because it seems to save text in a more machine readable format than Chrome.)
On other types of systems I'm not sure what to do, but I think some searching on the web could probably find some help.
I'm doing the same as @jiffyclub and removing the header and footer that Safari adds with PDFPen by hand (not a great solution).
There's pandoc, but I haven't been able to get the styling to work correctly.
There's also http://wkhtmltopdf.org, which you may have more luck with.
I use casperjs/phantomjs for this. You can generate PDF images from HTML with it, and it can be automated.
Thanks for @jiffyclub @TomAugspurger @ananelson , I get it and will have a try.
Hey, @perfectfoolish you may use media queries to achieve that. I have done it in my repository, please have a look here: https://github.com/hasukmistry/html-cv-to-pdf
I don't know how to make html to pdf