Update something
This commit is contained in:
parent
0ccf33c7f4
commit
65b6cca783
15 changed files with 644 additions and 328 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue