Documentation
¶
Overview ¶
Command html2pdf renders a static HTML file, or a fetched page, to a vector PDF.
html2pdf -in report.html -out report.pdf html2pdf -url https://example.org/report -out report.pdf
With -url the page is fetched through go-webengine's own client (charset decoding, redirects) and its final URL becomes the base for relative image sources; with -in, pass -base for the same when the file has relative images.
Click to show internal directories.
Click to hide internal directories.