mirror of
https://git.kernel.org/pub/scm/libs/libcap/libcap.git
synced 2026-01-30 03:14:30 +00:00
I'm leaning towards pandoc instead of man-to-md. Mostly because it has greater coverage in terms of supported formats. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
7 lines
240 B
Lua
7 lines
240 B
Lua
-- 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
|