Skip to content

Commit 513b818

Browse files
committed
add code block styling in global settings
1 parent de7d48e commit 513b818

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
@@ -188,6 +188,16 @@ settings. Learn more about the [properties](#properties) or from an
188188
The style of the rounded edges.
189189
</ResponseField>
190190

191+
<ResponseField name="codeBlock" type="CodeBlock">
192+
The style of the code block.
193+
<Expandable title="CodeBlock">
194+
<ResponseField name="mode" type={'"dark" | "auto"'} default="dark">
195+
`auto` will automatically switch between light and dark mode based on the
196+
user's system preferences.
197+
</ResponseField>
198+
</Expandable>
199+
</ResponseField>
200+
191201
### Structure
192202

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

0 commit comments

Comments
 (0)