feat: codeblock highlighter and styling #9

Merged
Hare merged 8 commits from develop into master 2024-09-07 02:49:35 +09:00
Showing only changes of commit 7c600da4f5 - Show all commits

View File

@ -106,7 +106,7 @@ export default async function init(db: Postgres) {
if (stat.isDirectory()) {
scanDir(dir);
} else {
articleFiles.push({ path: `${path}/${file}`, id: file });
articleFiles.push({ path: `${path}/${file}`, id: file.replace('.md', '') });
}
}
}