Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
Thank you! You are right, I was mistaken about the dash. I initially noticed this behavior with 'number-sections' and it was reproduced with 'highlight-style' but not for 'title,' 'abstact,' etc., so I began to suspect the dash. However I see now that it also occurs with some other keys including 'toc.' So I suppose I am now wondering how to distinguish between the keys that will have this behavior and those that will not. Here is an example expanding from a section of the Quarto tutorial. https://gist.github.com/tgt2/5db1ec89a8006891c910a989d27e3491 ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I imagine this must have an elementary solution, but for the life of me I cannot find it. I want to be able to call the value of a meta key while in the rmarkdown/latex environment, as in:
{{< meta number-sections >}}
This seems to work fine for any key without a dash in its name, but for those where there is one a warning is issued and no value returned. Is there perhaps another encoding such that the dash will be read and recognized?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions