How do you supply variables via an extension? #10917
-
DescriptionI'm trying to create an extension which I'd like to have provide a set of translation variables for the html templates (I am trying to convert our current mustache templates to be compatible with quarto using variables/metadata). I can see docs on how to include metadata in an extension but is there any way of including variables like you can with a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Short answer (as far as I know) is no. You might want to look at the following extension which is a bit related to what I think you are trying to do. I'm not sure to understand why you want to use |
Beta Was this translation helpful? Give feedback.
Short answer (as far as I know) is no.
You might want to look at the following extension which is a bit related to what I think you are trying to do.
https://github.com/ArthurData/quarto-i18n
I'm not sure to understand why you want to use
_variables.yml
instead of actual metadata here.