@@ -6,6 +6,8 @@ import remarkCollapse from "remark-collapse";
66import sitemap from "@astrojs/sitemap" ;
77import { SITE } from "./src/config" ;
88
9+ import expressiveCode from "astro-expressive-code" ;
10+
911// https://astro.build/config
1012export default defineConfig ( {
1113 // https://docs.astro.build/en/reference/configuration-reference/#site
@@ -18,13 +20,9 @@ export default defineConfig({
1820 // https://vitejs.dev/guide/env-and-mode.html#env-files
1921 //base: import.meta.env.DEV ? "." : "/emeraldjava-astro",
2022 //base: import.meta.env.VITE_BASE,
21- integrations : [
22- tailwind ( {
23- applyBaseStyles : false ,
24- } ) ,
25- react ( ) ,
26- sitemap ( ) ,
27- ] ,
23+ integrations : [ tailwind ( {
24+ applyBaseStyles : false ,
25+ } ) , react ( ) , sitemap ( ) , expressiveCode ( ) ] ,
2826 image : {
2927 // see https://docs.astro.build/en/reference/errors/missing-sharp/
3028 service : passthroughImageService ( ) ,
@@ -65,4 +63,4 @@ export default defineConfig({
6563 // GitLab Pages requires exposed files to be located in a folder called "public".
6664 // So we're instructing Astro to put the static build output in a folder of that name.
6765 outDir : "./dist" ,
68- } ) ;
66+ } ) ;
0 commit comments