-
DescriptionI am trying to create a paramterised report using typst. The issue is i am not able to pass params to typst template as a result of which placeholders doesnt change. The file name gets changed. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Parameters are for computations (code cells) not for metadata. See the documentation: https://quarto.org/docs/computations/parameters.html See also the documentation about Pandoc's template system: https://pandoc.org/MANUAL.html#template-syntax What you need is to change metadata, you can find multiple examples of this in the other discussions. One example: See other discussions about Typst: https://github.com/quarto-dev/quarto-cli/discussions?discussions_q=is%3Aopen+label%3Atypst |
Beta Was this translation helpful? Give feedback.
-
Thanks. So I understand that I have to use {}. but how to run it using purrr or something? is there a way? |
Beta Was this translation helpful? Give feedback.
-
Perfect!! Thanks
…On Fri, Aug 22, 2025 at 10:15 PM Mickaël Canouil ***@***.***> wrote:
If you intend to use the R wrapper, I strongly suggest to read the
documentation of the function you are using.
—
Reply to this email directly, view it on GitHub
<#13262 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQKHS25I5IASPPVGKJQL733O5CKNAVCNFSM6AAAAACERYK4XOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJZGE4DINQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Parameters are for computations (code cells) not for metadata. See the documentation: https://quarto.org/docs/computations/parameters.html
See also the documentation about Pandoc's template system: https://pandoc.org/MANUAL.html#template-syntax
What you need is to change metadata, you can find multiple examples of this in the other discussions.
One example:
See other discussions about Typst: https://github.com/quarto-dev/quarto-cli/discussions?discussions_q=is%3Aopen+label%3Atypst