2023-03-11 14:14:24 -06:00
|
|
|
------------------------------------ PANDOC -----------------------------------
|
|
|
|
|
|
|
|
return {
|
2023-04-17 18:59:58 -06:00
|
|
|
-- Parses and evals literate programming
|
|
|
|
{ Pandoc = function(doc) return lit.exam(doc) end },
|
2023-03-11 14:14:24 -06:00
|
|
|
{
|
2023-03-16 16:42:44 -06:00
|
|
|
-- Parses and evals natural programming
|
|
|
|
-- TODO
|
2023-03-15 17:33:53 -06:00
|
|
|
Inlines = function(inlines)
|
2023-03-16 16:42:44 -06:00
|
|
|
md = pandoc.utils.stringify(inlines)
|
2023-03-20 19:28:32 -06:00
|
|
|
md = nat.get(md)
|
2023-03-16 16:42:44 -06:00
|
|
|
return inlines
|
2023-03-11 14:14:24 -06:00
|
|
|
end,
|
|
|
|
}
|
|
|
|
}
|