htmlPdf
fun RendererFactory.htmlPdf(context: Context, pdfOptions: HtmlPdfExportOptions, htmlOptions: HtmlExportOptions): RenderingComponents
The HTML-PDF rendering plug-in produces a PDF document from the HTML output of html. The outcome is 1:1 with what would be displayed in a Chrome browser.