View source: R/make_notebook.R
| make_qmd | R Documentation |
Convenient alias for make_notebook(type = "quarto"). Creates a .qmd file
from stub templates.
make_qmd(name, dir = NULL, stub = "default", overwrite = FALSE, subdir = NULL)
name |
Character. The file name (with or without .qmd extension) |
dir |
Character. Directory to create the file in. Uses your project's
configured |
stub |
Character. Name of the stub template to use. Default "default". |
overwrite |
Logical. Whether to overwrite existing file. Default FALSE. |
subdir |
Optional subdirectory under |
Invisible path to created notebook
make_notebook(), make_rmd()
if (FALSE) {
# Create notebooks/analysis.qmd
make_qmd("analysis")
# Use custom stub
make_qmd("report", stub = "minimal")
# Create in specific directory
make_qmd("explore", dir = "work")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.