to_pdf: Print xaringan slides to PDF This super useful function was...

View source: R/to_pdf.R

to_pdfR Documentation

Print xaringan slides to PDF This super useful function was created by Garrick Aden-Buie www.garrickadenbuie.com/blog/print-xaringan-chromote/

Description

I only modified the name because I never remember how to spell xaringan

Usage

to_pdf(input, output_file = NULL, delay = 1, include_partial_slides = FALSE)

Arguments

input

Path to Rmd or html file of xaringan slides.

output_file

The name of the output file. If using NULL then the output filename will be based on filename for the input file. If a filename is provided, a path to the output file can also be provided.

delay

Seconds of delay between advancing to and printing a new slide.

include_partial_slides

Should partial (continuation) slides be included in the output? If FALSE, the default, only the complete slide is included in the PDF.

Details

Prints xaringan slides to a PDF file, even complicated slides with panelsets or other html widgets or advanced features. Requires a local installation of Chrome.


andrew-griffen/griffen documentation built on June 3, 2024, 12:34 p.m.