diff --git a/astro.config.ts b/astro.config.ts index fb0d8e6..5ad06e0 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -11,7 +11,6 @@ import { transformerNotationDiff, } from '@shikijs/transformers' import { rehypeHeadingIds } from '@astrojs/markdown-remark' -import rehypeKatex from 'rehype-katex' import rehypeExternalLinks from 'rehype-external-links' import rehypePrettyCode from 'rehype-pretty-code' import remarkCallout from "@r4ai/remark-callout"; @@ -47,7 +46,6 @@ export default defineConfig({ }, ], rehypeHeadingIds, - rehypeKatex, sectionize, [ rehypePrettyCode, diff --git a/package.json b/package.json index e08e228..38e5d4d 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "rehype-external-links": "^3.0.0", - "rehype-katex": "^7.0.1", "rehype-pretty-code": "^0.14.0", "remark-emoji": "^5.0.1", "remark-math": "^6.0.0", diff --git a/src/components/Head.astro b/src/components/Head.astro index beb2dc9..810cdf3 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -21,12 +21,6 @@ const { title, description, image = "/static/twitter-card.png" } = Astro.props; -