From f1e9324415a19b705523eb4c32818d282e7e627c Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange <58280776+MeowcaTheoRange@users.noreply.github.com> Date: Tue, 6 Dec 2022 02:38:24 -0600 Subject: [PATCH] fuck. --- code/converter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/converter.js b/code/converter.js index 4f77a70..e135140 100644 --- a/code/converter.js +++ b/code/converter.js @@ -35,16 +35,16 @@ json.forEach((v, i) => { } }); if (json[i - 1]) { - funnyTable[0] += "| |"; - funnyTable[1] += "| --- |"; - funnyTable[2] += "| [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |"; + funnyTable[0] = "| |"; + funnyTable[1] = "| --- |"; + funnyTable[2] = "| [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |"; } if (json[i + 1]) { funnyTable[0] += " |"; funnyTable[1] += " --- |"; funnyTable[2] += " [Next](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i + 1].id + ") |"; } - mdTemp += funnyTable.join("\n"); + mdTemp += "\n\n" + funnyTable.join("\n"); fullMd += mdTemp + "\n\n"; fs.writeFileSync(`${path}/story/human-readable/${v.id}.md`, mdTemp, {encoding: "utf8"}); indexmd += "### [" + v.id + "](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + v.id + ")\n\n" + chlist