new poast
Some checks failed
/ Deploy website to server (push) Failing after 21s

This commit is contained in:
2026-01-25 00:45:05 +00:00
parent 5f3155e15f
commit cdc17d7b7d
6 changed files with 1943 additions and 1139 deletions

View File

@@ -3,6 +3,7 @@ import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
import rehypeMermaid from "rehype-mermaid";
import tailwindcss from "@tailwindcss/vite";
@@ -12,13 +13,20 @@ export default defineConfig({
integrations: [mdx(), sitemap()],
markdown: {
syntaxHighlight: {
type: "shiki",
excludeLangs: ["mermaid", "math"],
},
shikiConfig: {
// Choose from Shiki's built-in themes (or add your own)
// https://shiki.style/themes
theme: "catppuccin-mocha",
},
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
rehypePlugins: [
rehypeKatex,
[rehypeMermaid, { strategy: "img-png", dark: true }],
],
},
vite: {