View source: R/make_notebook.R
| make_revealjs | R Documentation |
Convenient alias for creating reveal.js presentations. Always creates a Quarto notebook with the revealjs stub template.
make_revealjs(name, dir = NULL, overwrite = FALSE, subdir = NULL)
name |
Character. The presentation name (with or without .qmd extension) |
dir |
Character. Directory to create the file in. Uses your project's
configured |
overwrite |
Logical. Whether to overwrite existing file. Default FALSE. |
subdir |
Optional subdirectory under |
Invisible path to created presentation
make_notebook(), make_qmd(), make_presentation()
if (FALSE) {
# Create notebooks/slides.qmd with reveal.js format
make_revealjs("slides")
# Create in specific directory
make_revealjs("presentation", dir = "presentations")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.