From 79a6c1b38cf8526235f40360374ac4c102af0f07 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sat, 18 Jan 2025 17:23:15 +1000 Subject: Use cmake-gfm to parse the body for Foswiki. Now tables work. --- notYetAnotherWiki.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'notYetAnotherWiki.lua') diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index c3db5f1..d592d06 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -97,6 +97,8 @@ for name, file in pairs(Files) do Files[name] = nil else -- Ordinary md file, stash it's metadata and parsed body. + h = io.open(name .. '.body', 'r') + if nil ~= h then body = h:read('*a') ; h:close() end file.metadata = metadata file.body = body table.insert(Subs[path].files, bit) -- cgit v1.1