-
-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathec.config.mjs
More file actions
19 lines (18 loc) · 662 Bytes
/
ec.config.mjs
File metadata and controls
19 lines (18 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
import miniMessageHighlight from "./src/utils/shiki/mm.tmLanguage.json" with { type: "json" };
/** @type {import('@astrojs/starlight/expressive-code').StarlightExpressiveCodeOptions} */
export default {
plugins: [pluginLineNumbers(), pluginCollapsibleSections()],
defaultProps: {
showLineNumbers: false,
collapseStyle: "collapsible-start",
},
frames: {
extractFileNameFromCode: false,
},
emitExternalStylesheet: false,
shiki: {
langs: [miniMessageHighlight],
},
};