${
+ cell ? '✔️' : '❌'
+ }
`;
})
.join(' | ')
),
@@ -562,6 +566,7 @@ Object.entries(PROBLEM_LISTS).forEach(([name, list]) => {
});
});
+let outputMarkdownTable = '';
for (const key in tables) {
getDirectories(PREPEND_PATH)
.filter((dir) => !IGNORE_DIRS.includes(dir))
@@ -576,5 +581,13 @@ for (const key in tables) {
tables[key] = makeMarkdown(tables[key], URLS[key]);
// console.log(`##### ${key}`);
- console.log(`\n${tables[key]}`);
+ outputMarkdownTable += `\n${tables[key]}`;
}
+
+const template = fs.readFileSync(TEMPLATE_PATH, { encoding: 'utf8' })
+
+const full = template.replaceAll('