This commit is contained in:
RiseForever
2026-08-13 10:52:35 +08:00
parent 00a0607e37
commit b772337b10
3 changed files with 4 additions and 12 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
"@lucide/astro": "^1.27.0",
"astro": "^7.2.0",
"hast-util-to-html": "^9.0.5",
"katex": "^0.18.1",
"katex": "^0.16.47",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-gfm": "^3.1.0",
"mdast-util-to-hast": "^13.2.0",
+2 -10
View File
@@ -27,8 +27,8 @@ importers:
specifier: ^9.0.5
version: 9.0.5
katex:
specifier: ^0.18.1
version: 0.18.1
specifier: ^0.16.47
version: 0.16.47
mdast-util-from-markdown:
specifier: ^2.0.2
version: 2.0.3
@@ -1654,10 +1654,6 @@ packages:
resolution: {integrity: sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==}
hasBin: true
katex@0.18.1:
resolution: {integrity: sha512-Td8GCYSxDAoMhHOlKmCFMJ/hz5qlAAb71n66Dryw9nfCVfumLo7nhuotbvKom/XPADmrYC3O5QR71EPq4DarJQ==}
hasBin: true
khroma@2.1.0:
resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==}
@@ -4273,10 +4269,6 @@ snapshots:
dependencies:
commander: 8.3.0
katex@0.18.1:
dependencies:
commander: 8.3.0
khroma@2.1.0: {}
kleur@4.1.5: {}
+1 -1
View File
@@ -30,7 +30,7 @@ const { title, description, image, type, noindex, math, navbarOverlay = false, h
{siteConfig.comments.provider === 'twikoo' && <link rel="stylesheet" href="https://registry.npmmirror.com/twikoo/1.7.15/files/dist/twikoo.css" data-twikoo-styles transition:persist="twikoo-styles" />}
<SeoHead title={title} description={description} image={image} type={type} noindex={noindex} />
{siteConfig.pjax.enabled && <ClientRouter />}
{math && <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.18.1/dist/katex.min.css" />}
{math && <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.47/dist/katex.min.css" />}
<script is:inline set:html={appearanceScript}></script>
</head>
<body