feat: remark-math rehype-katex katex (#2)

数学公式渲染
This commit is contained in:
EveSunMaple 2023-10-29 19:22:19 +08:00 committed by GitHub
parent e30f20e86a
commit b4830e03ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@ export default defineConfig({
}) })
], ],
markdown: { markdown: {
remarkPlugins: [remarkReadingTime], remarkPlugins: [remarkMath],
rehypePlugins: [], rehypePlugins: [rehypeKatex]
}, },
redirects: { redirects: {
'/': '/page/1', '/': '/page/1',