Skip to contents

Creates a custom Quarto template with specified branding options

Usage

create_quarto_template(
  template_name,
  logo_path = NULL,
  primary_color = NULL,
  secondary_color = NULL,
  font_family = NULL,
  output_dir = "reports/templates"
)

Arguments

template_name

Character. Name of the template

logo_path

Character. Path to logo file (optional)

primary_color

Character. Primary brand color in hex format (optional)

secondary_color

Character. Secondary brand color in hex format (optional)

font_family

Character. Main font family to use (optional)

output_dir

Character. Directory to save the template (optional)

Value

Invisibly returns the path to the created template

Examples

if (FALSE) { # \dontrun{
create_quarto_template(
  template_name = "company_template",
  logo_path = "path/to/logo.png",
  primary_color = "#FF0000"
)
} # }