1
0
Timothy Lin 4 жил өмнө
parent
commit
1252257fa3

+ 0 - 2
src/generator.js

@@ -211,10 +211,8 @@ const rehypePrismGenerator = (refractor) => {
         refractorRoot = node.children
         refractorRoot = node.children
       }
       }
 
 
-      console.dir(refractorRoot, { depth: null })
       // @ts-ignore
       // @ts-ignore
       refractorRoot = getNodePosition(refractorRoot)
       refractorRoot = getNodePosition(refractorRoot)
-      console.dir(refractorRoot, { depth: null })
       refractorRoot.children = splitTextByLine(refractorRoot.children)
       refractorRoot.children = splitTextByLine(refractorRoot.children)
 
 
       const shouldHighlightLine = calculateLinesToHighlight(meta)
       const shouldHighlightLine = calculateLinesToHighlight(meta)