digital-garden/.obsidian/plugins/obsidian-enhancing-export/lua/pdf.lua

13 lines
245 B
Lua
Raw Normal View History

2024-06-13 21:01:37 +03:00
return {
{
Math = function (elem)
if elem.text:find("^%s*\\begin{") ~= nil then
return pandoc.RawInline('tex', elem.text)
else
return elem
end
end,
}
}