Update something
This commit is contained in:
parent
31c18af170
commit
2877f96fee
8 changed files with 1316 additions and 6561 deletions
|
@ -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,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue