diff --git a/mdparse.lua b/mdparse.lua index 2b9c5a7..87ff852 100644 --- a/mdparse.lua +++ b/mdparse.lua @@ -33,14 +33,11 @@ function md.parse(md) newpart() elseif c == "\n" then local line = md:sub(1,cc):match(".+\n(.+)") or it[#it].content - print(line:sub(1,1),line) if line:sub(1,1) == "-" then - print("entry") newpart() it[#it].content = "\n" newpart() elseif line:sub(1,1) == "#" then - print("title") newpart() it[#it].content = "\n" newpart()