-
DescriptionI would like for the key The ---
title: "yaml"
format: pdf
author: {{< meta banana >}} # this works
banana: dynamic
output-file: "{{< meta banana >}} and {{< meta title >}}" # this would not be interpolated and result in "{{ meta banana }} and {{ meta title }}.pdf"
---
## Interpolated value
the value I would like to have is "{{< meta banana >}} and {{< meta title >}}"
Yaml anchors/alias cannot do interpolation. Is this something that could be achieved with a filter maybe? A nudge into the right direction would be appreciate. SIDE NOTE: while creating the mwe for this question I discovered that not all the values defined in the fronmatter/_quarto.yml file are reacheable with the shortcode quarto version: 1.7.33 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't as this variable is required for various structural element such as path location. Either use a pre-render script or a post-render script to copy/move the file. Accessibility: For better accessibility, please ensure link text is descriptive and meaningful rather than using generic terms such as "here". This helps all users understand the link's destination. See Writing meaningful link text (WCAG). |
Beta Was this translation helpful? Give feedback.
You can't as this variable is required for various structural element such as path location.
Either use a pre-render script or a post-render script to copy/move the file.
The alternative is to use the CLI flag.
Accessibility: For better accessibility, please ensure link text is descriptive and meaningful rather than using generic terms such as "here". This helps all users understand the link's destination. See Writing meaningful link text (WCAG).