revert expressivecode plugin

plugin won't work with inline styles disabled like shiki
This commit is contained in:
Troy 2025-01-18 21:56:54 +00:00
parent bf087a566f
commit 6c18cef2da
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 5 additions and 20 deletions

View file

@ -4,29 +4,11 @@ import rehypeExternalLinks from "rehype-external-links";
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: [
@ -37,6 +19,10 @@ export default defineConfig({
},
],
],
shikiConfig: {
wrap: true,
},
syntaxHighlight: false,
},
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",