This commit is contained in:
Robert Jelic
2025-02-16 20:31:07 +01:00
parent a1fe485f1a
commit 1c90c6cf04
3 changed files with 2 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ function Frame.new()
return self
end
--- Initializes the Frame instance
function Frame:init(props, basalt)
Container.init(self, props, basalt)
self.set("type", "Frame")

View File

@@ -1,4 +1,4 @@
local markdown = require("markdown")
local markdown = require("tools/markdown")
local function ensureDirectory(path)
local dir = path:match("(.*)/[^/]*$")

View File

@@ -336,13 +336,4 @@ function markdown.saveToFile(source, output)
file:close()
end
local args = {...}
if args[1]~= nil and args[2]~= nil then
local source = args[1]
local output = args[2]
markdown.parseFile(source)
local md = markdown.makeMarkdown()
markdown.saveToFile(output, md)
end
return markdown