mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
520 B
30 lines
520 B
# Prev Next Link
|
|
|
|
You can customize the text of previous and next links. This is helpful if you want to show different text on previous/next links than what you have on your sidebar.
|
|
|
|
## prev
|
|
|
|
- Type: `string`
|
|
|
|
- Details:
|
|
|
|
Specify the text to show on the link to the previous page.
|
|
|
|
If you don't set this in frontmatter, the text will be inferred from the sidebar config.
|
|
|
|
- Example:
|
|
|
|
```yaml
|
|
---
|
|
prev: 'Get Started | Markdown'
|
|
---
|
|
```
|
|
|
|
## next
|
|
|
|
- Type: `string`
|
|
|
|
- Details:
|
|
|
|
Same as `prev` but for the next page.
|