Learn R Programming

rmarkdown (version 2.28)

yaml_front_matter: 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.