Skip to main content
Module

x/gotenberg/mod.ts>html

A gotenberg client for Deno
Latest
function html
import { html } from "https://deno.land/x/gotenberg@0.4.0/mod.ts";

Creates a RequestInfo for converting a html file to a pdf

Parameters

indexHTML: Asset

index.html file that should be rendered to pdf

optional
files: Asset[] = [UNSUPPORTED]

Additional Assets that are refrenced by indexHTML

optional
options: Partial<ChromiumOptions> = [UNSUPPORTED]

layout and design options

Returns

ReqiestInfo to be passed to an executor