feat: copy hyperlinks of headings in blogpost
This commit is contained in:
parent
d7922b47fa
commit
092f8589a3
2 changed files with 19 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ const config = defineConfig({
|
|||
},
|
||||
|
||||
remarkPlugins: [remarkGFM, remarkEmoji, remarkFootnotes],
|
||||
rehypePlugins: [rehypeSlug, rehypeAutolinkHeadings],
|
||||
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behaviour: 'append' }]],
|
||||
});
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue