new_blog_post | R Documentation |
Creates (and potentially opens) the index.qmd
file for a new blog post.
new_blog_post(
title,
dest = NULL,
wd = NULL,
open = rlang::is_interactive(),
call = rlang::current_env(),
...
)
title |
A character string for the title of the post. It is converted
to title case via |
dest |
A character string (or NULL) for the path within |
wd |
An optional working directory. If |
open |
A logical: have the default editor open a window to edit the
|
call |
The execution environment of a currently
running function, e.g. |
... |
A named list of values to be added to the yaml header, such as
|
The path to the index file.
## Not run:
\donttest{
new_blog_post("making quarto blog posts", categories = c("R"))
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.