File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,16 @@ module.exports = {
51
51
当你提供了一个 ` items ` 数组而不是一个单一的 ` link ` 时,它将会显示以 ` 下拉列表 ` 的方式显示:
52
52
53
53
``` js
54
- // .vuepress/config.js
55
54
module .exports = {
56
55
themeConfig: {
57
56
nav: [
58
- { text: ' Home' , link: ' /' },
59
- { text: ' Guide' , link: ' /guide/' },
60
- { text: ' External' , link: ' https://google.com' },
57
+ {
58
+ text: ' Languages' ,
59
+ items: [
60
+ { text: ' Chinese' , link: ' /language/chinese' },
61
+ { text: ' Japanese' , link: ' /language/japanese' }
62
+ ]
63
+ }
61
64
]
62
65
}
63
66
}
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ module.exports = {
177
177
// markdown-it-toc 的选项
178
178
toc: { includeLevel: [1 , 2 ] },
179
179
config : md => {
180
- // 使用更过的 markdown-it 插件!
180
+ // 使用更多的 markdown-it 插件!
181
181
md .use (require (' markdown-it-xxx' ))
182
182
}
183
183
}
You can’t perform that action at this time.
0 commit comments