|
@@ -560,7 +560,6 @@ function buildAST(md, mdTags=syntax, offset=0, tree={tag: 'root'}, stack=[]){
|
|
let endMatch = md.offsetMatch(offset, endRegexp) || {index: md.length +1, 0: 'zzz'}
|
|
let endMatch = md.offsetMatch(offset, endRegexp) || {index: md.length +1, 0: 'zzz'}
|
|
|
|
|
|
let listMD = md.slice(offset, endMatch.index + offset).cutIndent(currentNode.startMatch[0].length -2)
|
|
let listMD = md.slice(offset, endMatch.index + offset).cutIndent(currentNode.startMatch[0].length -2)
|
|
- debugger;
|
|
|
|
|
|
|
|
const newNode = {tag: childName, startOffset: offset, parent: currentNode, startMatch: currentNode.startMatch}
|
|
const newNode = {tag: childName, startOffset: offset, parent: currentNode, startMatch: currentNode.startMatch}
|
|
children.push(newNode)
|
|
children.push(newNode)
|