brand_rmd_template: Generate RMarkdown template with brand styling

View source: R/branding.R

brand_rmd_templateR Documentation

Generate RMarkdown template with brand styling

Description

Generate RMarkdown template with brand styling

Usage

brand_rmd_template(
  brand = "block",
  title = "Report",
  output_format = "html_document",
  output_file = NULL
)

Arguments

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)

Value

RMarkdown template content

Examples

## 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)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.