rmarkdown (version 1.5)

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 = getOption("encoding"))

Arguments

input

Input file (Rmd or plain markdown)

encoding

The encoding of the input file; see file