change: add rehypeAutolinkHeadings plugin to article compiler

This commit is contained in:
Keisuke Hirata 2024-12-18 06:07:46 +09:00
parent b529e96a6b
commit bafa8e4d18
2 changed files with 2 additions and 1 deletions

1
articles Submodule

@ -0,0 +1 @@
Subproject commit 6cd6a02396ef9ff5786bffaf082a6e72bf1a135f

View File

@ -20,6 +20,6 @@ export default async function compileArticle(code: string) {
return html; return html;
}, },
}, },
rehypePlugins: [rehypeSlug], rehypePlugins: [rehypeAutolinkHeadings, rehypeSlug],
}); });
} }