Create (and optionally edit) a new postcard.
create_postcard( file = "index.Rmd", template = "jolla", create_dir = FALSE, edit = TRUE, create_image = TRUE )
create_postcard( file = "index.Rmd", template = "jolla", create_dir = FALSE, edit = TRUE, create_image = TRUE )
file |
File name for the draft |
template |
Template to use as the basis for the draft. This is either
the full path to a template directory or the name of a template directory
within the |
create_dir |
|
edit |
|
create_image |
|
Valid values for the template
argument include "jolla"
, "jolla-blue"
,
"trestles"
, "onofre"
, and "solana"
.
## Not run: postcards::create_postcard(template = "jolla") postcards::create_postcard(template = "jolla-blue") postcards::create_postcard(template = "trestles") postcards::create_postcard(template = "onofre") postcards::create_postcard(template = "solana") ## End(Not run)
## Not run: postcards::create_postcard(template = "jolla") postcards::create_postcard(template = "jolla-blue") postcards::create_postcard(template = "trestles") postcards::create_postcard(template = "onofre") postcards::create_postcard(template = "solana") ## End(Not run)
Postcards templates
jolla(css = NULL, includes = NULL, ...) jolla_blue(css = NULL, includes = NULL, ...) trestles(css = NULL, includes = NULL, ...) onofre(css = NULL, includes = NULL, ...) solana(css = NULL, includes = NULL, ...)
jolla(css = NULL, includes = NULL, ...) jolla_blue(css = NULL, includes = NULL, ...) trestles(css = NULL, includes = NULL, ...) onofre(css = NULL, includes = NULL, ...) solana(css = NULL, includes = NULL, ...)
css |
CSS and/or Sass files to include. Files with an extension of .sass
or .scss are compiled to CSS via |
includes |
Named list of additional content to include within the
document (typically created using the |
... |
Additional arguments passed to |