substitute_rmd_header_attr: Swap the value of an Rmd header attribute

Description Usage Arguments

View source: R/get_rmd_header.R

Description

Swap the value of an Rmd header attribute

Usage

1
substitute_rmd_header_attr(header_lines, attr_prefix = "title:", new_attr_val)

Arguments

header_lines

A character vector with the lines of the header

attr_prefix

The name of the attribute (with ending colon)

new_attr_val

The value to substitute


michaelfrancenelson/rmd.utils documentation built on Dec. 21, 2021, 5:57 p.m.