Skip to content

Commit 8020b84

Browse files
authored
Merge pull request #343 from sboldyreva/anchor
looks good to me, merging. Thanks you Sofia
2 parents 0ef2bfe + a39bf6a commit 8020b84

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/.vuepress/config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ import headFunctions from "./headFunctions";
66
export default defineUserConfig({
77
theme,
88
markdown: {
9+
anchor: {
10+
slugify: str =>
11+
str
12+
.replace(/®/g, '')
13+
.toLowerCase()
14+
.replace(/\s+/g, '-')
15+
},
916
headers: {
1017
level: [2, 3, 4, 5],
1118
},

0 commit comments

Comments
 (0)