We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceb9f2c commit 78c6067Copy full SHA for 78c6067
.vitepress/config.mts
@@ -44,7 +44,7 @@ export default async () => {
44
cleanUrls: true,
45
markdown: {
46
anchor: {
47
- slugify: (s: string) => s.replace(' ', '-').replace('.', '').toLowerCase()
+ slugify: (s: string) => s.replace(/\s/g, '-').replace(/\./g, '').toLowerCase()
48
},
49
}
50
})
0 commit comments