mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 03:36:42 +00:00
We want to provide an interface familiar to users of other filtering libraries.
12 lines
200 B
Lua
12 lines
200 B
Lua
return {
|
|
{
|
|
RawBlock = function (elem)
|
|
if elem.format == "markdown" then
|
|
return pandoc.reader.markdown.read_block(elem.text)
|
|
else
|
|
return elem
|
|
end
|
|
end,
|
|
}
|
|
}
|