removed a bunch of debug output
This commit is contained in:
parent
bb2adacba3
commit
2b99c43a94
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user