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, } }