digital-garden/.obsidian/plugins/obsidian-enhancing-export/lua/pdf.lua
2024-06-13 21:01:37 +03:00

13 lines
245 B
Lua

return {
{
Math = function (elem)
if elem.text:find("^%s*\\begin{") ~= nil then
return pandoc.RawInline('tex', elem.text)
else
return elem
end
end,
}
}