Files
mkdocs-etz/process_comments.lua

7 lines
178 B
Lua
Raw Normal View History

function RawBlock(el)
if el.text:match("%% ONLY FOR PANDOC:") then
local latex_cmd = el.text:match("\\([a-z]+{})")
return pandoc.RawBlock('latex', latex_cmd)
end
end