Replies: 2 comments 1 reply
-
Short answer: no, there is not yet a way to do that. This being said, depending on what you want to do I would suggest to use profiles and conditional contents, see https://quarto.org/docs/projects/profiles.html and https://quarto.org/docs/authoring/conditional.html. Additionally, there is computations parameters, but I do not know and never tried to use it with Julia, see https://quarto.org/docs/computations/parameters.html. |
Beta Was this translation helpful? Give feedback.
-
Knitr parameters look interesting, but to my understanding I need to stick to juypter when working with Julia code cells. Is passing data from the YAML metadata section to code cells executed with Juypter impossible by design? Or could this feature be added? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all
I think this question has come up before but I can't find the answer in the archive.
Is there a way to read the value of a YAML parameter defined in a Quarto qmd document from a Jupyter code block in Julia?
e.g.
My specific use case is that I would like to define a meta data field "status" declaring the maturity of a particular Quarto page and add a disclaimer to the rendered output depending on that status of the document, e.g. draft, revised version, release candidate, final. Thus it would be convenient to include the code for formatting the disclaimer from an include file and pass the value of status to this code.
Cheers
Christian
Beta Was this translation helpful? Give feedback.
All reactions