Skip to contents

Copies a file from the rmarkdown/templates folder to a target path

Usage

render_template(
  file,
  template_folder,
  target_path,
  output_name = NA,
  data = list()
)

Arguments

file

File name to copy.

template_folder

Folder name of file.

target_path

Path to copy to.

output_name

Name of copies file. If NA, name will be the same as input file name.

data

List of additional metadata. Must have at least element name and title.