18 lines
479 B
Lua
18 lines
479 B
Lua
------------------------------------ PANDOC -----------------------------------
|
|
|
|
return {
|
|
-- Parses and evals literate blocks
|
|
{ Blocks = function(blocks) return lit.exam(blocks) end },
|
|
-- Parses and inserts literate evals
|
|
{ Code = function(code) return lit.insert(code) end },
|
|
{
|
|
-- Parses and evals natural programming
|
|
-- TODO
|
|
Inlines = function(inlines)
|
|
md = pandoc.utils.stringify(inlines)
|
|
md = nat.get(md)
|
|
return inlines
|
|
end,
|
|
}
|
|
}
|