Skip to content

Commit 84dc0d1

Browse files
authored
Merge pull request #1221 from quarto-dev/bugfix/shortcode-namespace
Provide the entry quarto namespace to shortcodes
2 parents ac24149 + f54706d commit 84dc0d1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/resources/filters/quarto-pre/shortcodes-handlers.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,7 @@ local function shortcodeMetatable(scriptFile)
5454
-- quarto global environment
5555
json = json,
5656
-- quarto functions
57-
quarto = {
58-
utils = {
59-
dump = dump
60-
},
61-
doc = quarto.doc
62-
}
57+
quarto = quarto
6358
}
6459
end
6560

0 commit comments

Comments
 (0)