Skip to contents

If html2pdfr is installed it will use that by default, if not it will fall back to a headless chrome instance.

Usage

html_pdf_converter(html, filename, maxWidth, maxHeight)

Arguments

html

the html fragment

filename

the pdf filename

maxWidth

the maximum page width in inches

maxHeight

the maximum page height in inches

Value

nothing called for side effects