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.
2 parents f7416aa + 07a774d commit 5f3cd1fCopy full SHA for 5f3cd1f
src/resources/filters/quarto-post/typst.lua
@@ -31,23 +31,6 @@ function render_typst()
31
end
32
},
33
{
34
- FloatRefTarget = function(float)
35
- if float.content == nil then
36
- return float
37
- end
38
- if float.content.t == "Table" then
39
- -- this needs the fix from https://github.com/jgm/pandoc/pull/9778
40
- float.content.classes:insert("typst-no-figure")
41
- else
42
- float.content = _quarto.ast.walk(float.content, {
43
- Table = function(tbl)
44
- tbl.classes:insert("typst-no-figure")
45
- return tbl
46
47
- })
48
49
50
- end,
51
Div = function(div)
52
if div.classes:includes("block") then
53
div.classes = div.classes:filter(function(c) return c ~= "block" end)
0 commit comments