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; - {title} diff --git a/src/styles/global.css b/src/styles/global.css index 67ab4c8..139e27f 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -85,10 +85,6 @@ article { @apply prose-headings:scroll-mt-20 prose-headings:break-words first:prose-headings:mt-0 prose-p:break-words prose-a:!break-words prose-a:!decoration-muted-foreground prose-a:underline-offset-[3px] prose-a:transition-colors hover:prose-a:!decoration-foreground prose-pre:!px-0 prose-img:mx-auto; - .katex-display { - @apply overflow-x-auto overflow-y-hidden py-4; - } - /* Removes background from elements */ mark { @apply bg-transparent;