change: add rehypeAutolinkHeadings plugin to article compiler

This commit is contained in:
2024-12-18 06:07:46 +09:00
parent b529e96a6b
commit bafa8e4d18
2 changed files with 2 additions and 1 deletions
Submodule
+1
Submodule articles added at 6cd6a02396
+1 -1
View File
@@ -20,6 +20,6 @@ export default async function compileArticle(code: string) {
return html; return html;
}, },
}, },
rehypePlugins: [rehypeSlug], rehypePlugins: [rehypeAutolinkHeadings, rehypeSlug],
}); });
} }