Skip to content

Commit f59050f

Browse files
committed
feat: load cxx-mark-plugin in astro config
1 parent d35abe8 commit f59050f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

astro.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import starlightUtils from "@lorenzo_lewis/starlight-utils";
66
import starlightAutoSidebar from "starlight-auto-sidebar";
77
import starlightHeadingBadges from "starlight-heading-badges";
88

9+
import { pluginCxxMark } from "./src/plugins/expressive-code/cxx-mark";
10+
911
// https://astro.build/config
1012
export default defineConfig({
1113
site: process.env.CPPDOC_SITE,
@@ -61,6 +63,9 @@ export default defineConfig({
6163
}),
6264
],
6365
customCss: ["./src/styles/custom.css"],
66+
expressiveCode: {
67+
plugins: [pluginCxxMark()],
68+
},
6469
}),
6570
],
6671
});

0 commit comments

Comments
 (0)