We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab8b4f commit ed4b831Copy full SHA for ed4b831
src/resources/filters/quarto-post/typst.lua
@@ -122,7 +122,13 @@ function render_typst_fixups()
122
Table = function(tbl)
123
-- https://github.com/quarto-dev/quarto-cli/issues/10438
124
tbl.classes:insert("typst:no-figure")
125
- return tbl
+
126
+ -- Create Div wrapper and return false to prevent processing its contents
127
+ return pandoc.Div({
128
+ pandoc.RawBlock("typst", "#["),
129
+ tbl,
130
+ pandoc.RawBlock("typst", "]")
131
+ }), false
132
end,
133
Para = function(para)
134
if #para.content ~= 1 then
@@ -145,4 +151,4 @@ function render_typst_fixups()
145
151
})
146
152
147
153
}
148
-end
154
+end
0 commit comments