Reads YAML headers (typically found in Markdown files).

readYamlHeader(con)

Arguments

con

connection object or a character string.

Value

A named list, see yaml::yaml.load() for more details.