Description Usage Arguments Details Value
This function is a helper to use WeasyPrint or
Prince in order to convert an HTML
file to
PDF
.
1 2 |
file |
An |
engine |
A |
engine_opts |
A character vector of command-line arguments to be passed to |
pdf_file |
Path to the |
The presentational hints option
is always enabled for Weasyprint
.
The javascript option
is always enabled for Prince
.
A character string of the path of the PDF
output file (i.e., the
value of the pdf_file
argument).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.