Files
Cactidocumentation/resources/build/pandoc_links_to_html.lua
T
Tony Roman f9ca6d63e0 Fix up build process
- Fixed build script to correctly detect pandoc and lua requirements
 - Fixed lua script syntax
2018-10-05 11:22:59 -04:00

7 lines
243 B
Lua

-- Simple LUA function to be used by Pandoc when converting Markdown to HTML
function Link(el)
el.target = string.gsub(el.target, "%.md", ".html")
el.target = string.gsub(el.target, "README.html", "Table-of-Contents.html")
return el
end