fix: update deps

This commit is contained in:
2024-11-26 11:22:45 +01:00
parent 85a13d89fb
commit a519af23ce
4 changed files with 13 additions and 5 deletions

View File

@@ -178,10 +178,6 @@ async function handleLike() {
.prose h4 a {
@apply no-underline;
}
.katex-html {
display: none;
}
</style>
<i18n lang="json">

View File

@@ -39,7 +39,11 @@ export default defineNuxtConfig({
},
markdown: {
remarkPlugins: ['remark-math'],
rehypePlugins: ['rehype-katex'],
rehypePlugins: {
'rehype-katex': {
output: 'mathml',
},
},
},
},

View File

@@ -25,6 +25,8 @@
"nuxt": "^3.13.2",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"zod": "^3.23.8"
},
"devDependencies": {

6
pnpm-lock.yaml generated
View File

@@ -44,6 +44,12 @@ importers:
remark-math:
specifier: ^6.0.0
version: 6.0.0
remark-parse:
specifier: ^11.0.0
version: 11.0.0
remark-rehype:
specifier: ^11.1.1
version: 11.1.1
zod:
specifier: ^3.23.8
version: 3.23.8