Does knitr know the value of YAML data e.g. title: or date: or some_custom_field: while it is compiling an rmarkdown doc with a YAML header?
I would like to be able
That is stored in rmarkdown::metadata as a list of the form list(title = ...).
rmarkdown::metadata
list(title = ...)