diff --git a/articles b/articles new file mode 160000 index 0000000..6cd6a02 --- /dev/null +++ b/articles @@ -0,0 +1 @@ +Subproject commit 6cd6a02396ef9ff5786bffaf082a6e72bf1a135f diff --git a/src/lib/server/article_compiler.ts b/src/lib/server/article_compiler.ts index dbd48fe..723ab0a 100644 --- a/src/lib/server/article_compiler.ts +++ b/src/lib/server/article_compiler.ts @@ -20,6 +20,6 @@ export default async function compileArticle(code: string) { return html; }, }, - rehypePlugins: [rehypeSlug], + rehypePlugins: [rehypeAutolinkHeadings, rehypeSlug], }); } \ No newline at end of file