Used to extract the formatting elements for a given style from an onbrand object.
Value
list with the following elements
isgood: Boolean variable indicating success or failure
md_def: List with the default format for the specified style
msgs: Vector of messages
Examples
obnd = read_template(
template = file.path(system.file(package="onbrand"), "templates", "report.docx"),
mapping = file.path(system.file(package="onbrand"), "templates", "report.yaml"))
obnd = fetch_md_def(obnd, style="default")
md_def = obnd[["md_def"]]