write_quarto | R Documentation |
This function creates a new Quarto document (.qmd file) complete with a useful header.
write_quarto(filename = NULL, path = here::here())
filename |
Character string. The name of the file without the '.qmd' extension. Only letters, numbers, hyphens, and underscores are allowed. |
path |
Character string. Directory where the file will be created. Defaults to the current project's base directory. |
Opens file after creating the Quarto document.
## Not run:
# Create a new Quarto document
write_quarto(filename = "data_cleaning", path = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.