feat: copy hyperlinks of headings in blogpost

This commit is contained in:
Alexander Daichendt 2022-07-31 15:11:04 +02:00
parent d7922b47fa
commit 092f8589a3
2 changed files with 19 additions and 1 deletions

View file

@ -16,7 +16,7 @@ const config = defineConfig({
},
remarkPlugins: [remarkGFM, remarkEmoji, remarkFootnotes],
rehypePlugins: [rehypeSlug, rehypeAutolinkHeadings],
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behaviour: 'append' }]],
});
export default config;