Update something

This commit is contained in:
tiff 2025-06-23 05:04:22 -04:00
parent 0ccf33c7f4
commit 65b6cca783
15 changed files with 644 additions and 328 deletions

View file

@ -3,6 +3,9 @@ import tailwindcss from "@tailwindcss/vite";
import sitemap from "@astrojs/sitemap";
import remarkToc from "remark-toc";
import remarkCollapse from "remark-collapse";
import umami from "@yeskunall/astro-umami";
import rehypeCallouts from "rehype-callouts";
import { SITE } from "./src/config";
import expressiveCode from "astro-expressive-code";
@ -15,9 +18,11 @@ export default defineConfig({
filter: (page) => SITE.showArchives || !page.endsWith("/archives"),
}),
expressiveCode(),
umami({ id: "a16cd27f-5d49-4a75-a710-3e541fe3bea0" }),
],
markdown: {
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
rehypePlugins: [rehypeCallouts],
shikiConfig: {
// For more themes, visit https://shiki.style/themes
themes: { light: "catppuccin-latte", dark: "catppuccin-frappe" },