File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ import starlightUtils from "@lorenzo_lewis/starlight-utils";
66import starlightAutoSidebar from "starlight-auto-sidebar" ;
77import starlightHeadingBadges from "starlight-heading-badges" ;
88
9- import { pluginCxxMark } from "./src/plugins/expressive-code/cxx-mark" ;
10-
119// https://astro.build/config
1210export default defineConfig ( {
1311 site : process . env . CPPDOC_SITE ,
@@ -63,9 +61,6 @@ export default defineConfig({
6361 } ) ,
6462 ] ,
6563 customCss : [ "./src/styles/custom.css" ] ,
66- expressiveCode : {
67- plugins : [ pluginCxxMark ( ) ] ,
68- } ,
6964 } ) ,
7065 ] ,
7166} ) ;
Original file line number Diff line number Diff line change 1+ // @ts -check
2+ import { pluginCxxMark } from "./src/plugins/expressive-code/cxx-mark.ts" ;
3+
4+ /** @type {import('@astrojs/starlight/expressive-code').StarlightExpressiveCodeOptions } */
5+ export default {
6+ plugins : [ pluginCxxMark ( ) ] ,
7+ }
You can’t perform that action at this time.
0 commit comments