I tried to export pdf files from webpage with wkhtmltopdf 0.10.0 rc2. However I found a lot of problems in it:
1, When export Bootstrap CSS library based pages, it always shows the link address inside the 'a' tags. For example, "linkname" will rendered with './somepage.html' displayed after 'linkname'. Can I remove it?
2, Some element of the page is missing. Take stackoverflow pages as example, running
wkhtmltopdf http://stackoverflow.com/questions/10307043/rails-3-and-pdfkit-how-to-specify-page-size/ ./test.pdf
will render most elements in the page. But the 5 buttons after the "stackoverflow" logo is gone. How can I avoid that?
3, How can I export a page that requires login?
Among these 3 questions I'm most curious about the first one. I googled a lot but no result. So I'll accept the first answer to that. Big Thanks in advance.