Extract xml from pptx
convert_pptx(
path,
author = NULL,
title = NULL,
sub = NULL,
date = Sys.Date(),
theme = "default",
highlightStyle = "github",
force = FALSE,
writenotes = TRUE,
out_dir = "."
)
Path to the Microsoft PowerPoint file
Optional string indicating the author or authors of the slide. Defaults to the listed creator of the pptx.Multiple authors can be provided with a string vector.
Optional title of the slide deck. Defaults to the title of the first slide in the deck.
Optional subtitle
The date the slides were produced. Defaults to current date.
The css theme to apply to the xaringan slides. For options, see
here.
Note that only the name of the theme needs to be applied
(e.g., theme = "metropolis"
) and the proper code will be applied to
load both the theme and the fonts, although this can easily be manually
manipulated after conversion if you want other fonts with a specific theme.
The code highlighting style. Defaults to
"github"
flavored highlighting
If an 'assets' folder already exists in the current directory,
(e.g., from a previous conversion) should it be overwritten? Defaults to
FALSE
.
Logical. If notes are in the original PPTX, should they be
written out as their own .txt file in addition to being embedded in the
slides? Defaults to TRUE
.
Optional output directory for the folder containing the RMD and corresponding assets. Defaults to the current working directory.