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 6a3445f commit 3bbb5dcCopy full SHA for 3bbb5dc
src/resources/filters/quarto-post/typst.lua
@@ -120,8 +120,15 @@ function render_typst_fixups()
120
return div
121
end,
122
Table = function(tbl)
123
- -- https://github.com/quarto-dev/quarto-cli/issues/10438
+ -- Check if table has already been processed
124
+ if tbl.classes:includes("typst-processed") then
125
+ return tbl
126
+ end
127
+
128
+ -- Mark table as processed and add no-figure class
129
+ tbl.classes:insert("typst-processed")
130
tbl.classes:insert("typst:no-figure")
131
132
return pandoc.Div({
133
pandoc.RawBlock("typst", "#["),
134
tbl,
0 commit comments