index.html. You can send additional assets (CSS, images, fonts) via the assets option or by passing multiple files; reference them in your HTML by filename only — do not use absolute paths (/img.png) or subdirectories (./assets/img.png), because Gotenberg stores all uploaded files in a single temporary directory.
Convert HTML to PDF
Buffer, or a ReadStream. Optional conversion options (e.g. properties, header, footer) go in the same options object.
Capture HTML as screenshot
properties to set image format, quality, and dimensions. See Options.