jekyll_create_rmd_draft | R Documentation |
This is the function I use to create new posts for my website.
jekyll_create_rmd_draft( slug = NULL, date = NULL, dir_drafts = "./_R/_drafts", open = TRUE )
slug |
A "slug" to use for the post. Should be a string consisting of
|
date |
Date string to use for the post. Default to |
dir_drafts |
Relative path to the folder to store the drafts. Defaults
to |
open |
Whether to open the file for editing when using RStudio. Defaults
to |
The path to the created file is invisibly returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.