biommap/documentation/image-path.lua

11 lines
155 B
Lua
Raw Normal View History

2021-10-21 15:21:23 +00:00
function fix_path (path)
return '../../sncf-qa.wiki/' .. path
end
function Image (element)
element.src = fix_path(element.src)
return element
end