v811_spc009/external/libcap/doc/md2html.lua

7 lines
240 B

-- This is the links-to-html.lua example from stackoverflow:
-- https://stackoverflow.com/questions/40993488/convert-markdown-links-to-html-with-pandoc
function Link(el)
el.target = string.gsub(el.target, "%.md", ".html")
return el
end