From 54b4d487839f710bbe557e545e83ce5de890a7e1 Mon Sep 17 00:00:00 2001 From: nrfq <43225935+nrfq@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:30:58 -0400 Subject: [PATCH] testing --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5cb47d0..0092c50 100644 --- a/index.js +++ b/index.js @@ -58,6 +58,7 @@ function getMediaFromDirectory(dir){ let parseMarkdown = function(doc){ let tree = remark.parse(doc).children; + console.log(tree); let children = []; // This will go into root object later let errors = []; let currentDepth = 3; @@ -127,7 +128,6 @@ function parseDirectory(directory){ filenames.forEach((filename) => { console.log(filename); const doc = fs.readFileSync(filename); - console.log(doc); let children, errors = parseMarkdown(doc); const langCode = getLangFromFilename(filename); let docJson = {