diff --git a/package.json b/package.json index 82966bd1..5b9a50ae 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,6 @@ "react-string-replace": "1.1.1", "react-tweet": "3.2.1", "react-virtuoso": "4.7.10", - "rehype-autolink-headings": "7.1.0", "rehype-infer-description-meta": "2.0.0", "rehype-katex": "7.0.0", "rehype-raw": "7.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f3bf1c8..c0c103ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -302,9 +302,6 @@ importers: react-virtuoso: specifier: 4.7.10 version: 4.7.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rehype-autolink-headings: - specifier: 7.1.0 - version: 7.1.0 rehype-infer-description-meta: specifier: 2.0.0 version: 2.0.0 @@ -6018,9 +6015,6 @@ packages: resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} - rehype-autolink-headings@7.1.0: - resolution: {integrity: sha512-rItO/pSdvnvsP4QRB1pmPiNHUskikqtPojZKJPPPAVx9Hj8i8TwMBhofrrAYRhYOOBZH9tgmG5lPqDLuIWPWmw==} - rehype-infer-description-meta@2.0.0: resolution: {integrity: sha512-8MZjKRfQiNB5+Qpt0fS9bpjcKe+nhF5GOTHo0M5e+XdStDpcZxkSMMnCfNIlpNaOyIQ7Hu1qEaUxm8ZL1lYI1g==} @@ -14003,15 +13997,6 @@ snapshots: es-errors: 1.3.0 set-function-name: 2.0.2 - rehype-autolink-headings@7.1.0: - dependencies: - '@types/hast': 3.0.4 - '@ungap/structured-clone': 1.2.0 - hast-util-heading-rank: 3.0.0 - hast-util-is-element: 3.0.0 - unified: 11.0.4 - unist-util-visit: 5.0.0 - rehype-infer-description-meta@2.0.0: dependencies: '@types/hast': 3.0.4 diff --git a/src/app/[locale]/ColorSchemeInjector.tsx b/src/app/[locale]/ColorSchemeInjector.tsx index 9fe26453..3331d9db 100644 --- a/src/app/[locale]/ColorSchemeInjector.tsx +++ b/src/app/[locale]/ColorSchemeInjector.tsx @@ -9,6 +9,7 @@ import { export const ColorSchemeInjector = () => { return (