Convert HTML to PDF with paged.js
render_pagedjs_pdf.Rd
This function takes an html document and convert it to pdf using the paged.js CLI.
Arguments
- file_path
A character string specifying the path to the HTML file or Quarto document
- dest_path
A character string specifying the destination directory where the file will be saved. Default to
file_path
(using.pdf
instead of.html
)- delete_html_if_quarto
Whether to delete the intermediate html file is
file_path
is a Quarto document. Default toTRUE
.