Using variables and meta in _quarto.yml #11236
Answered
by
cscheid
royfrancis
asked this question in
Q&A
-
DescriptionI understand that variables defined in I have two questions. One is if a variable defined in Second question is if yaml variables defined in
I've tried both and they don't seem to work.
|
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
Oct 29, 2024
Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're running into an unfortunate part of Quarto, which we should improve on, but will take a long time to fix properly.
The fundamental issue is that parts of the metadata are handled in Typescript, and parts of the metadata are handled in Lua. For the parts that are handled in Typescript, you can't use shortcodes, since those are resolved in Lua.
Your next question is likely going to be "ok, but which is which?", and I don't have a great answer to give you here.
output-dir
is certainly handled in Typescript, but we don't have an enumeration of this in the docs.