View source: R/gallery_site_generator.R
gallery_site | R Documentation |
Define a custom website generator to be used with rmarkdown::render_site()
.
This generates a simple R Markdown website including a gallery of pages with
embedded content, based on metadata in JSON or YAML format and custom site
configuration options.
gallery_site(input, ...) gallery_site_generator(input, ...)
input |
Website directory (or the name of a file within the directory). |
... |
Currently unused. |
See rmarkdown::default_site_generator()
, from which the
implementation was adapted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.