Skip to content
Discussion options

You must be logged in to vote

For clarity, it's a shortcode and proper syntax is {{< KEY ARG >}}.

This being said, the only variables you can use are the one under the params YAML key, see https://quarto.org/docs/computations/parameters.html.

There are several GitHub Discussions about this if you want to know more about it and workarounds.
Quarto team has plan to allow to use variables and/or environment variables in code cells, but this is something for the future, so you'll have to be patient.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mavam
Comment options

Answer selected by mavam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants