Docs
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local markdown = require("markdown")
|
||||
local markdown = require("tools/markdown")
|
||||
|
||||
local function ensureDirectory(path)
|
||||
local dir = path:match("(.*)/[^/]*$")
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user