hledger/tools/pandoc-dedent-code-blocks.lua

5 lines
119 B
Lua
Raw Normal View History

-- convert code blocks to unindented plain text
function CodeBlock(b)
return pandoc.Para{ pandoc.Str(b.text) }
end