yaml_front_matter: Parse the YAML front matter from a file

View source: R/output_format.R

yaml_front_matterR Documentation

Parse the YAML front matter from a file

Description

Parse the YAML front matter from a file

Usage

yaml_front_matter(input, encoding = "UTF-8")

Arguments

input

Input file (Rmd or plain markdown)

encoding

Ignored. The encoding is always assumed to be UTF-8.


rstudio/rmarkdown documentation built on April 5, 2025, 9:11 a.m.