Skip to content

Commit 2572781

Browse files
authored
mode: center for changelog & add docs for center mode (#444)
* mode: center for changelog * add center mode
1 parent 048eaaa commit 2572781

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

changelog/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Product Updates"
33
description: "New updates and improvements"
4-
mode: "wide"
4+
mode: "center"
55
---
66
<Update label="December 2024">
77
## Authentication

page.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,18 @@ mode: "custom"
146146
---
147147
```
148148

149+
### Center Mode
150+
151+
*Center Mode* removes the sidebar and the table of contents, and centers the page content. This mode is great for changelogs
152+
or any page where you want to focus on the content.
153+
154+
155+
```md
156+
---
157+
mode: "center"
158+
---
159+
```
160+
149161
## External Links
150162

151163
If you want the sidebar to open an external URL, you can set the `url` metadata

0 commit comments

Comments
 (0)