remove expressivecode plugin again
This commit is contained in:
parent
6cbdcd01a0
commit
1089b32e26
3 changed files with 8 additions and 21 deletions
|
@ -5,29 +5,10 @@ import mdx from "@astrojs/mdx";
|
||||||
import tailwind from "@astrojs/tailwind";
|
import tailwind from "@astrojs/tailwind";
|
||||||
import icon from "astro-icon";
|
import icon from "astro-icon";
|
||||||
|
|
||||||
import expressiveCode from "astro-expressive-code";
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://troylusty.com",
|
site: "https://troylusty.com",
|
||||||
integrations: [
|
integrations: [sitemap(), mdx(), tailwind(), icon()],
|
||||||
sitemap(),
|
|
||||||
expressiveCode({
|
|
||||||
themes: ["github-dark-default", "github-light-default"],
|
|
||||||
defaultProps: {
|
|
||||||
frame: "none",
|
|
||||||
wrap: true,
|
|
||||||
},
|
|
||||||
styleOverrides: {
|
|
||||||
frames: {
|
|
||||||
shadowColor: "none",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
mdx(),
|
|
||||||
tailwind(),
|
|
||||||
icon(),
|
|
||||||
],
|
|
||||||
output: "static",
|
output: "static",
|
||||||
markdown: {
|
markdown: {
|
||||||
rehypePlugins: [
|
rehypePlugins: [
|
||||||
|
@ -38,6 +19,13 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
shikiConfig: {
|
||||||
|
wrap: true,
|
||||||
|
themes: {
|
||||||
|
light: "github-light-default",
|
||||||
|
dark: "github-dark-default",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
service: passthroughImageService(),
|
service: passthroughImageService(),
|
||||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -20,7 +20,6 @@
|
||||||
"@fontsource-variable/red-hat-mono": "^5.1.1",
|
"@fontsource-variable/red-hat-mono": "^5.1.1",
|
||||||
"@fontsource/borel": "^5.1.1",
|
"@fontsource/borel": "^5.1.1",
|
||||||
"astro": "^5.1.7",
|
"astro": "^5.1.7",
|
||||||
"astro-expressive-code": "^0.40.1",
|
|
||||||
"astro-icon": "^1.1.5",
|
"astro-icon": "^1.1.5",
|
||||||
"rehype-external-links": "^3.0.0",
|
"rehype-external-links": "^3.0.0",
|
||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.17",
|
||||||
|
|
Loading…
Add table
Reference in a new issue