Creating a "default" set of variables #10527
Unanswered
BradySullivan1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a set of variables in the _variables.yml file in my quarto project that I want to be a default set. What I mean by that is I have a gui that takes an input from the user and updates the variables in the variable file, which is made in a python script file and is set as a pre-rendered file in the quarto project file. I would like to have it so if an input is left blank in the gui it defaults to the variables that is already preset in the variable file. I would also like for the new inputted variables to be reverted back to the default set after the document is rendered. Is this something that would be done in quarto? Or would it be code in the python script file that houses my gui?
Beta Was this translation helpful? Give feedback.
All reactions