Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/resources/filters/quarto-post/typst.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,6 @@ function render_typst()
end
},
{
FloatRefTarget = function(float)
if float.content == nil then
return float
end
if float.content.t == "Table" then
-- this needs the fix from https://github.com/jgm/pandoc/pull/9778
float.content.classes:insert("typst-no-figure")
else
float.content = _quarto.ast.walk(float.content, {
Table = function(tbl)
tbl.classes:insert("typst-no-figure")
return tbl
end
})
end
return float
end,
Div = function(div)
if div.classes:includes("block") then
div.classes = div.classes:filter(function(c) return c ~= "block" end)
Expand Down
Loading