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