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, ...)See rmarkdown::default_site_generator(), from which the
implementation was adapted.