Use of metadata variables in code chunk #2121
-
Hello, In the documentation, there is a page concerning the use of variables declared in the .yml file or in the document YAML field. If not, is there a chance that this feature would be added later? Thank you in advance for your answer |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Right now there isn't a cross language way to accomplish this, but you could use the rmarkdown syntax like
to access document metadata and you could read the |
Beta Was this translation helpful? Give feedback.
-
FWIW, I used |
Beta Was this translation helpful? Give feedback.
Right now there isn't a cross language way to accomplish this, but you could use the rmarkdown syntax like
to access document metadata and you could read the
_variables.yml
file directly in a code chunk as well...