make_revealjs: Create a Reveal.js Presentation

View source: R/make_notebook.R

make_revealjsR Documentation

Create a Reveal.js Presentation

Description

Convenient alias for creating reveal.js presentations. Always creates a Quarto notebook with the revealjs stub template.

Usage

make_revealjs(name, dir = NULL, overwrite = FALSE, subdir = NULL)

Arguments

name

Character. The presentation name (with or without .qmd extension)

dir

Character. Directory to create the file in. Uses your project's configured directories$notebooks setting. Default: "notebooks/".

overwrite

Logical. Whether to overwrite existing file. Default FALSE.

subdir

Optional subdirectory under dir (e.g., "slides/week-01").

Value

Invisible path to created presentation

See Also

make_notebook(), make_qmd(), make_presentation()

Examples


if (FALSE) {
# Create notebooks/slides.qmd with reveal.js format
make_revealjs("slides")

# Create in specific directory
make_revealjs("presentation", dir = "presentations")
}



framework documentation built on Feb. 18, 2026, 1:07 a.m.