Skip to contents

Convert a slide deck to a PowerPoint presentation

Usage

make_ppt(
  repo,
  slides_md = file.path(repo, "slides.md"),
  output = file.path(repo, "slides.pptx"),
  extra_flags = character(),
  template = NULL,
  verbose = FALSE,
  open = TRUE
)

Arguments

repo

Path to the git repository corresponding to a lesson that uses Carpentries Workbench.

slides_md

Optional output from make_md indicating where the slide markdown source is found. By default, this function looks in the repo for the slides

output

An optional path indicating where the resulting slideshow should be written. Character scalar. If not provided, the slides will be saved into the lesson's git repository.

extra_flags

Character vector. Extra arguments to pass to pandoc to modify the conversion process

template

Path to a powerpoint presentation to copy the style from

verbose

Logical scalar. TRUE if additional but non-essential logging should be provided.

open

Logical scalar. TRUE if you want the slides to be opened in your browser after they are generated.

Value

The path to the output slides, invisibly.