hledger/tools/pandoc-demote-headers.lua

4 lines
81 B
Lua

function Header(h)
return pandoc.Header(h.level + 1, h.content, h.attrs)
end