Update converter.js
This commit is contained in:
parent
f03945f1b7
commit
48de81bbf0
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ json.forEach((v, i) => {
|
||||||
});
|
});
|
||||||
fullMd += mdTemp + "\n\n";
|
fullMd += mdTemp + "\n\n";
|
||||||
fs.writeFileSync(`${path}/story/human-readable/${v.id}`, mdTemp, {encoding: "utf8"});
|
fs.writeFileSync(`${path}/story/human-readable/${v.id}`, mdTemp, {encoding: "utf8"});
|
||||||
indexmd += "### [" + v.id + "](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + v.id + ".md)\n\n" + chlist
|
indexmd += "### [" + v.id + "](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + v.id + ")\n\n" + chlist
|
||||||
})
|
})
|
||||||
artjson.forEach((v, i) => {
|
artjson.forEach((v, i) => {
|
||||||
artMd += `## ${v.title}\n${v.description}\n\n![](${v.image})\n\nCredit: \`${v.credit}\`${v.link != undefined ? ` \([${v.linkName}](${v.link})\)` : ""}\n\n`;
|
artMd += `## ${v.title}\n${v.description}\n\n![](${v.image})\n\nCredit: \`${v.credit}\`${v.link != undefined ? ` \([${v.linkName}](${v.link})\)` : ""}\n\n`;
|
||||||
|
|
Loading…
Reference in a new issue