Update something

This commit is contained in:
tiff 2025-05-17 21:18:28 -04:00
parent 31c18af170
commit 2877f96fee
8 changed files with 1316 additions and 6561 deletions

View file

@ -10,14 +10,17 @@ import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
site: SITE.website,
integrations: [sitemap({
filter: page => SITE.showArchives || !page.endsWith("/archives"),
}), expressiveCode()],
integrations: [
sitemap({
filter: (page) => SITE.showArchives || !page.endsWith("/archives"),
}),
expressiveCode(),
],
markdown: {
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
shikiConfig: {
// For more themes, visit https://shiki.style/themes
themes: { light: "min-light", dark: "night-owl" },
themes: { light: "catppuccin-latte", dark: "catppuccin-frappe" },
wrap: true,
},
},
@ -30,10 +33,10 @@ export default defineConfig({
image: {
// Used for all Markdown images; not configurable per-image
// Used for all `<Image />` and `<Picture />` components unless overridden with a prop
experimentalLayout: "responsive",
experimentalLayout: "full-width",
},
experimental: {
svg: true,
responsiveImages: true,
},
});
});