git.iko.soy/typeable/pandoc
on 6e2019d help sign in
typeable/pandoc/test/lua/markdown-reader.lua
12 lines 235 B history raw
1return {
2 {
3 RawBlock = function (blk)
4 local format, content = unpack(blk.c)
5 if format == "markdown" then
6 return pandoc.reader.markdown.read_block(content)
7 else
8 return blk
9 end
10 end,
11 }