Title: | Create Beautiful, Simple Personal Websites |
Version: | 0.2.3 |
Description: | A collection of R Markdown templates for creating simple and easy to personalize single page websites. |
License: | MIT + file LICENSE |
URL: | https://github.com/seankross/postcards |
BugReports: | https://github.com/seankross/postcards/issues |
Encoding: | UTF-8 |
RoxygenNote: | 7.1.2 |
Imports: | utils, rmarkdown, rstudioapi |
Suggests: | testthat |
NeedsCompilation: | no |
Packaged: | 2022-01-07 01:17:58 UTC; sean |
Author: | Sean Kross |
Maintainer: | Sean Kross <sean@seankross.com> |
Repository: | CRAN |
Date/Publication: | 2022-01-07 03:10:02 UTC |
Create a new postcard
Description
Create (and optionally edit) a new postcard.
Usage
create_postcard(
file = "index.Rmd",
template = "jolla",
create_dir = FALSE,
edit = TRUE,
create_image = TRUE
)
Arguments
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 |
|
Details
Valid values for the template
argument include "jolla"
, "jolla-blue"
,
"trestles"
, "onofre"
, and "solana"
.
Examples
## 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
Description
Postcards templates
Usage
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, ...)
Arguments
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 |