xref: /aosp_15_r20/external/libcap/doc/md2html.lua (revision 2810ac1b38eead2603277920c78344c84ddf3aff)
1-- This is the links-to-html.lua example from stackoverflow:
2-- https://stackoverflow.com/questions/40993488/convert-markdown-links-to-html-with-pandoc
3function Link(el)
4  el.target = string.gsub(el.target, "%.md", ".html")
5  return el
6end
7