Learn R Programming

rmarkdown (version 1.10)

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