change: add rehypeAutolinkHeadings plugin to article compiler
This commit is contained in:
parent
b529e96a6b
commit
bafa8e4d18
1
articles
Submodule
1
articles
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6cd6a02396ef9ff5786bffaf082a6e72bf1a135f
|
|
@ -20,6 +20,6 @@ export default async function compileArticle(code: string) {
|
|||
return html;
|
||||
},
|
||||
},
|
||||
rehypePlugins: [rehypeSlug],
|
||||
rehypePlugins: [rehypeAutolinkHeadings, rehypeSlug],
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user