View source: R/generate-document.R
generate_document | R Documentation |
FIXME: currently type must be html... :/
generate_document(template, rel_output_path, ..., type = "html")
... |
parameters to pass to the markdown document |
type |
file extension on the output (.html) |
path |
(relative to project root) to the .Rmd file |
Convention is that project contains the doc itself, garbage ends up in build_dir and output ends up in artifact dir.
path to output document
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.