forked from commerce-docs/microsite-commerce-storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathec.config.mjs
More file actions
29 lines (24 loc) · 883 Bytes
/
ec.config.mjs
File metadata and controls
29 lines (24 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { pluginCollapsibleSections } from '@expressive-code/plugin-collapsible-sections'
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
/** @type {import('@astrojs/starlight/expressive-code').StarlightExpressiveCodeOptions} */
export default {
// Plugins
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
// Themes
themes: ['github-light', 'github-dark'],
// Inline styles to ensure callout numbers work in production
emitExternalStylesheet: false,
// Style overrides
styleOverrides: {
frames: {
frameBoxShadowCssValue: 'none',
},
},
// Default properties for all code blocks
defaultProps: {
// Disable window frames for all code blocks
frame: 'none',
// Enable line numbers for all code blocks by default
showLineNumbers: true,
},
}