From f54706d3e279f50e9a6e87e544a185fe5276923b Mon Sep 17 00:00:00 2001 From: Charles Teague Date: Fri, 24 Jun 2022 16:09:44 -0400 Subject: [PATCH] Provide the entry quarto namespace to shortcodes --- src/resources/filters/quarto-pre/shortcodes-handlers.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/resources/filters/quarto-pre/shortcodes-handlers.lua b/src/resources/filters/quarto-pre/shortcodes-handlers.lua index 15fd71fe9d9..b4b108d68d7 100644 --- a/src/resources/filters/quarto-pre/shortcodes-handlers.lua +++ b/src/resources/filters/quarto-pre/shortcodes-handlers.lua @@ -54,12 +54,7 @@ local function shortcodeMetatable(scriptFile) -- quarto global environment json = json, -- quarto functions - quarto = { - utils = { - dump = dump - }, - doc = quarto.doc - } + quarto = quarto } end