| brand_rmd_template | R Documentation |
Generate RMarkdown template with brand styling
brand_rmd_template(
brand = "block",
title = "Report",
output_format = "html_document",
output_file = NULL
)
brand |
Name of the brand |
title |
Document title |
output_format |
RMarkdown output format (default: "html_document") |
output_file |
Path to save template (NULL to return as string) |
RMarkdown template content
## Not run:
# Create branded RMarkdown template in temp directory
temp_file <- file.path(tempdir(), "report.Rmd")
brand_rmd_template("block", "My Report", output_file = temp_file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.