Debian Codegraph @

doc/md2html.lua

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