diff options
Diffstat (limited to 'Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl')
-rw-r--r-- | Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl b/Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl index 9d74e405904..c794125d2f8 100644 --- a/Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl +++ b/Master/texmf-dist/source/luatex/lua-widow-control/lwc-manual.mkxl @@ -367,5 +367,36 @@ interfaces.implement { \lwc_doi{\clf_btxflush{\currentbtxdataset}{\currentbtxtag}{doi}} \stoptexdefinition + +%%%%%%%%%%%%%%%% +%%% Markdown %%% +%%%%%%%%%%%%%%%% + +\startluacode +sandbox.registerrunner { + name = "pandoc", + program = "pandoc", + method = "resultof", + template = "--from markdown --to context %filename%", + checkers = { + filename = "readable", + path = "string", + } +} + +interfaces.implement { + name = "markdownInput", + public = true, + arguments = { "string" }, + actions = function (str) + -- local out = sandbox.getrunner("pandoc"){ + -- filename = str, + -- } + -- + -- context(out) + end +} +\stopluacode + \protect \stopenvironment |