Skip to content

Commit

Permalink
add multi-level outline (#313)
Browse files Browse the repository at this point in the history
Vitepress显示多级标题
  • Loading branch information
Suzukaze7 committed Apr 9, 2024
1 parent b134fe2 commit 5722bea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ export default defineConfig({
detailedView: true,
}
},
outline: { label: '页面导航' },
outline: {
label: '页面导航',
level: [1, 6]
},
docFooter: {
prev: '上一页',
next: '下一页'
Expand Down

0 comments on commit 5722bea

Please sign in to comment.