Skip to content

Commit 77beb44

Browse files
authored
docs: add example for outline frontmatter config (#4138)
1 parent 3e11b6a commit 77beb44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/en/reference/frontmatter-config.md

+6
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ aside: false
161161
162162
The levels of header in the outline to display for the page. It's same as [config.themeConfig.outline.level](./default-theme-config#outline), and it overrides the value set in site-level config.
163163
164+
```yaml
165+
---
166+
outline: [2, 4]
167+
---
168+
```
169+
164170
### lastUpdated
165171
166172
- Type: `boolean | Date`

0 commit comments

Comments
 (0)