Skip to content

Commit e8e51a8

Browse files
jpfairbanksCopilot
andcommitted
Apply suggestion from @Copilot
this might need to be reverted if the CSS is looking for tikzcd instead of tikzit etc. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent da10707 commit e8e51a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function CodeBlock(el)
9494
if tikz_template ~= nil then
9595
return pandoc.Div(
9696
memoize_svg(el.text, tikz2image(tikz_template), tikz_template[1] .. tikz_template[2]),
97-
{ class = "tikzcd" }
97+
{ class = el.classes[1] }
9898
)
9999
elseif el.classes[1] == "graphviz" then
100100
return pandoc.Div(memoize_svg(el.text, graphviz2image, "graphviz"), { class = "graphviz" })

0 commit comments

Comments
 (0)