This commit is contained in:
parent
165aa5636f
commit
8312dc6d8a
12 changed files with 486 additions and 15 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import rehypeKatex from "rehype-katex";
|
||||
import remarkGfm from "remark-gfm";
|
||||
import remarkMath from "remark-math";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
|
||||
|
|
@ -9,9 +10,17 @@ import react from "@astrojs/react";
|
|||
// @ts-ignore - TailwindCSS v4 Vite plugin has type compatibility issues with Astro
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import remarkCallouts from "../../src/remark-callouts.mjs";
|
||||
import remarkCodeFenceLanguages from "../../src/remark-code-fence-languages.mjs";
|
||||
import remarkInlineFootnotes from "../../src/remark-inline-footnotes.mjs";
|
||||
import { ACTIVE_BLOG_SITE } from "./src/blog-sites.js";
|
||||
|
||||
const remarkPlugins = [remarkMath, remarkCallouts];
|
||||
const remarkPlugins = [
|
||||
remarkGfm,
|
||||
remarkInlineFootnotes,
|
||||
remarkCodeFenceLanguages,
|
||||
remarkMath,
|
||||
remarkCallouts,
|
||||
];
|
||||
const rehypePlugins = [rehypeKatex];
|
||||
|
||||
// https://astro.build/config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue