@@ -591,6 +591,7 @@ function buildAST(md, mdTags=syntax, offset=0, tree={tag: 'root'}, stack=[]){
const newNode = {tag: childName, startOffset: offset, parent: currentNode, startMatch: currentNode.startMatch}
children.push(newNode) //create LI and add it into children of ol/ul
+ //
newNode.children = buildAST(listMD, mdTags).children
newNode.children.forEach(item => ((typeof item === 'object') && (item.parent = currentNode)))