html2pdf

command
v0.0.0-...-e65e4e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL