removed a bunch of debug output

This commit is contained in:
Izaya 2018-06-21 00:04:51 +10:00
parent bb2adacba3
commit 2b99c43a94

View File

@ -33,14 +33,11 @@ function md.parse(md)
newpart() newpart()
elseif c == "\n" then elseif c == "\n" then
local line = md:sub(1,cc):match(".+\n(.+)") or it[#it].content local line = md:sub(1,cc):match(".+\n(.+)") or it[#it].content
print(line:sub(1,1),line)
if line:sub(1,1) == "-" then if line:sub(1,1) == "-" then
print("entry")
newpart() newpart()
it[#it].content = "\n" it[#it].content = "\n"
newpart() newpart()
elseif line:sub(1,1) == "#" then elseif line:sub(1,1) == "#" then
print("title")
newpart() newpart()
it[#it].content = "\n" it[#it].content = "\n"
newpart() newpart()