Documentation
¶
Overview ¶
Package print runs the one-shot pipeline: parse -> render -> headless Chromium -> wait for paged.js -> page.PDF -> write to disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// OutputPath is the PDF file to write. Empty means write next to the
// source document as <basename>.pdf.
OutputPath string
// WriteHTML, if true, also writes the rendered HTML alongside the PDF
// for debugging.
WriteHTML bool
// Version is propagated into the render System.Version field.
Version string
}
Options configures Print.
Click to show internal directories.
Click to hide internal directories.