import { type PDFOptions } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";
Valid options to configure PDF generation via {@link Page.pdf}.
Properties
HTML template for the print header. Should be valid HTML with the following classes used to inject values into them:
-
date
formatted print date -
title
document title -
url
document location -
pageNumber
current page number -
totalPages
total pages in the document
Give any CSS @page
size declared in the page priority over what is
declared in the width
or height
or format
option.