rmarkdown (version 1.18)

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

The encoding of the input file; see file