remove expressivecode plugin again

This commit is contained in:
Troy 2025-01-19 13:30:10 +00:00
parent 6cbdcd01a0
commit 1089b32e26
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 8 additions and 21 deletions

View file

@ -5,29 +5,10 @@ import mdx from "@astrojs/mdx";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
site: "https://troylusty.com",
integrations: [
sitemap(),
expressiveCode({
themes: ["github-dark-default", "github-light-default"],
defaultProps: {
frame: "none",
wrap: true,
},
styleOverrides: {
frames: {
shadowColor: "none",
},
},
}),
mdx(),
tailwind(),
icon(),
],
integrations: [sitemap(), mdx(), tailwind(), icon()],
output: "static",
markdown: {
rehypePlugins: [
@ -38,6 +19,13 @@ export default defineConfig({
},
],
],
shikiConfig: {
wrap: true,
themes: {
light: "github-light-default",
dark: "github-dark-default",
},
},
},
image: {
service: passthroughImageService(),

BIN
bun.lockb

Binary file not shown.

View file

@ -20,7 +20,6 @@
"@fontsource-variable/red-hat-mono": "^5.1.1",
"@fontsource/borel": "^5.1.1",
"astro": "^5.1.7",
"astro-expressive-code": "^0.40.1",
"astro-icon": "^1.1.5",
"rehype-external-links": "^3.0.0",
"tailwindcss": "^3.4.17",