2023-03-11 14:14:24 -06:00
|
|
|
------------------------------------ PANDOC -----------------------------------
|
|
|
|
|
|
|
|
return {
|
|
|
|
{
|
2023-03-16 09:52:04 -06:00
|
|
|
-- Parses LIN declarations
|
2023-03-15 17:33:53 -06:00
|
|
|
CodeBlock = function(codeblock)
|
|
|
|
return lit.parse_declarations(codeblock)
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
-- Avoids quotes conversion in stringify
|
|
|
|
Quoted = function(quoted)
|
|
|
|
str = pandoc.utils.stringify(quoted.content):gsub('"', '\\"')
|
|
|
|
return '"' .. str .. '"'
|
|
|
|
end,
|
2023-03-16 09:52:04 -06:00
|
|
|
-- Parses and does LIN calls
|
2023-03-15 17:33:53 -06:00
|
|
|
Inlines = function(inlines)
|
|
|
|
return lit.parse_calls(inlines)
|
2023-03-11 14:14:24 -06:00
|
|
|
end,
|
|
|
|
}
|
|
|
|
}
|