File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
// @ts -check
2
+ import { defineEcConfig } from "astro-expressive-code" ;
3
+
2
4
import darkTheme from "solarflare-theme/themes/cloudflare-dark-color-theme.json" with { type : "json" } ;
3
5
import lightTheme from "solarflare-theme/themes/cloudflare-light-color-theme.json" with { type : "json" } ;
4
6
@@ -8,7 +10,7 @@ import pluginDefaultTitles from "./src/plugins/expressive-code/default-titles.js
8
10
9
11
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections" ;
10
12
11
- export default {
13
+ export default defineEcConfig ( {
12
14
plugins : [
13
15
pluginWorkersPlayground ( ) ,
14
16
pluginOutputFrame ( ) ,
@@ -26,4 +28,9 @@ export default {
26
28
frames : {
27
29
extractFileNameFromCode : false ,
28
30
} ,
29
- } ;
31
+ shiki : {
32
+ langAlias : {
33
+ curl : "sh" ,
34
+ } ,
35
+ } ,
36
+ } ) ;
You can’t perform that action at this time.
0 commit comments