Skip to content

Commit 3f88fe5

Browse files
committed
read file metadata required for resourceRefs
1 parent 8385187 commit 3f88fe5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/resources/filters/quarto-init/quarto-init.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ function import(script)
99
local path = PANDOC_SCRIPT_FILE:match("(.*[/\\])")
1010
dofile(path .. script)
1111
end
12+
import("../common/pandoc.lua")
1213
import("../common/base64.lua")
14+
import("../common/paths.lua")
1315
import("../common/filemetadata.lua")
1416
import("../common/meta.lua")
1517
import("../common/params.lua")
@@ -22,7 +24,10 @@ initParams()
2224

2325
return {
2426
readIncludes(),
25-
resourceRefs(),
27+
combineFilters({
28+
fileMetadata(),
29+
resourceRefs()
30+
})
2631
}
2732

2833

0 commit comments

Comments
 (0)