Description Usage Arguments Value
Create new article from existing template
1 2 3 4 5 6 7 8 9 10 | use_article_template(
template,
slug,
date = NULL,
collection = "posts",
slug_replace = "INSERT-SLUG-HERE",
date_replace = "INSERT-DATE-HERE",
renv_new = TRUE,
open = interactive()
)
|
template |
Path to template file |
slug |
Semantic slug for the article (in-kebab-case) |
date |
Date for the article (in YYYY-MM-DD) |
collection |
Collection to contain the article (default = "posts") |
slug_replace |
Pattern to be replaced with slug |
date_replace |
Pattern to be replaced with date |
renv_new |
Initialise a new R environment? |
open |
Open the article in RStudio? |
???
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.