From 478a7992501f499b62cde16247cf520c623d4b66 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange <58280776+MeowcaTheoRange@users.noreply.github.com> Date: Sun, 29 May 2022 20:57:02 -0500 Subject: [PATCH] Update converter.js --- code/converter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/converter.js b/code/converter.js index f2c41c8..20074fd 100644 --- a/code/converter.js +++ b/code/converter.js @@ -5,12 +5,12 @@ console.log(path); var json = JSON.parse(fs.readFileSync(path + "/story/database.json", { encoding: "utf8" })); var artjson = JSON.parse(fs.readFileSync(path + "/art/data.json", { encoding: "utf8" })); var fullMd = ""; -var indexmd = ""; +var indexmd = "# Table Of Contents\n\n"; var artMd = "# Art Of The Dizzy AU\n\nSome art, either by MeowcaTheoRange or other people who like the Dizzy AU. Check it out below!\n\n"; json.forEach((v, i) => { var mdTemp = `# ${v.scene}\n`; - var chlist = `# Table Of Contents\n\n`; + var chlist = ``; var chars = { "---": "---" };