summaryrefslogtreecommitdiff
path: root/.obsidian/plugins/obsidian-enhancing-export/lua/pdf.lua
blob: 05fc651a2f889c30379dbfb6632894d610bb2cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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