Parse a Markdown document with YAML headers and return a data frame for generating a scroll document

parse_md(input_file)

Arguments

input_file

character. File path to the Markdown document. The Markdown document must contain a YAML header with the following keys:

  • position

  • imgurl

Examples

if (FALSE) { # \dontrun{
parse_md("Markdown/1.md")
} # }