We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746aae0 commit d89a356Copy full SHA for d89a356
src/resources/filters/quarto-pre/options.lua
@@ -40,11 +40,13 @@ end
40
41
function parseOption(name, options, def)
42
local keys = split(name, ".")
43
+ quarto.log.output(keys)
44
local value = nil
45
for i, key in ipairs(keys) do
46
if value == nil then
47
value = readOption(options, key, nil)
48
else
49
+ key = tonumber(key) or key
50
value = value[key]
51
end
52
tests/docs/smoke-all/2024/01/03/issue-8086.qmd
@@ -0,0 +1,19 @@
1
+---
2
+title: issue-8086
3
+testkey:
4
+ - "value 1"
5
+ - "value 2"
6
+testkey2:
7
+ testkey: testvalue
8
+_quarto:
9
+ tests:
10
+ html:
11
+ ensureFileRegexMatches:
12
+ -
13
+ - "testvalue"
14
15
16
+
17
+{{< meta testkey.1 >}}
18
19
+{{< meta testkey2.testkey >}}
0 commit comments