quarto.metadata
get
function quarto.metadata.get(key: string)
-> boolean|string|number|pandoc.List|table<number, pandoc.MetaValue>...(+2)
Return the value of a metadata entry in Quarto metadata as a pandoc.MetaValue. Return nil if the key (or any of its subcomponents) are missing.
This is the Lua equivalent of the ?meta:key shortcode in Quarto documents.