Skip to content

Commit 6cabe3e

Browse files
authored
add code block styling in global settings (#303)
1 parent bda7c13 commit 6cabe3e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

settings/global.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,16 @@ settings. Learn more about the [properties](#properties) or from an
201201
The style of the rounded edges.
202202
</ResponseField>
203203

204+
<ResponseField name="codeBlock" type="CodeBlock">
205+
The style of the code block.
206+
<Expandable title="CodeBlock">
207+
<ResponseField name="mode" type={'"dark" | "auto"'} default="dark">
208+
`auto` will automatically switch between light and dark mode based on the
209+
user's system preferences.
210+
</ResponseField>
211+
</Expandable>
212+
</ResponseField>
213+
204214
### Structure
205215

206216
<ResponseField name="navigation" type="Navigation[]" required>

0 commit comments

Comments
 (0)