-
DescriptionConsider a project with a pair of metavalue, project wise: project:
type: website
format: html
mymeta:
key1: projectwise_value
key2: projectwise_value_2
filters:
- filtermeta.lua Now, add, in the project folder a qmd overruling one of the keys: ---
title: a qmd
mymeta:
key1: qmd specific value
--- When I run the following function metapeek(m)
quarto.log.debug("------ Meta")
quarto.log.debug(m.mymeta)
end
return {
{ Meta = metapeek}
} (D) ------ Meta
(D) {
key1: Inlines {
[1] Str {
clone: function: 000002700b27c470
text: "qmd"
walk: function: 000002700b27cab0
}
[2] Space {
clone: function: 000002700b27d9b0
walk: function: 000002700b25e230
}
[3] Str {
clone: function: 000002700b25d9b0
text: "specific"
walk: function: 000002700b25db70
}
[4] Space {
clone: function: 000002700b31b8b0
walk: function: 000002700b31acb0
}
[5] Str {
clone: function: 000002700b31c6f0
text: "value"
walk: function: 000002700b31c1b0
}
}
} So my question is how can I get key2 (project wise) ? |
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
Oct 21, 2024
Replies: 1 comment 1 reply
-
This looks like a Quarto bug to me! I created a small repro like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mcanouil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a Quarto bug to me!
I created a small repro like this:
_quarto.yml
index.qmd
Debugging
Quarto is clearly attempting to override the first key while maintaining the second value, as evidenced by th…