pengzhanbo ca21d1b8cb
feat: add support optional icon for file-tree and code-tabs (#216)
* feat(theme)!: migrate `plugin-markdown-hint`

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak

* fix(theme): improve `home-blog` styles in mobile, close #210

* chore: tweak

* chore: tweak

* chore: tweak

* feat: add support optional icon for `file-tree` and `code-tabs`

* chore: tweak

* chore: tweak

* chore: tweak

* chore: tweak
2024-09-26 00:14:06 +08:00

33 lines
640 B
Markdown

---
title: Markdown Math
createTime: 2024/09/24 13:20:41
permalink: /config/plugins/markdown-math/
---
## 概述
为 Markdown 添加数学支持。
关联插件:[@vuepress/plugin-markdown-math](https://ecosystem.vuejs.press/zh/plugins/markdown/markdown-math.html)
此插件允许你使用 mathjax 或 katex 在 Markdown 中渲染 $\TeX$ 内容。
## 配置
插件默认启用 `katex`
```ts
import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
export default defineUserConfig({
theme: plumeTheme({
plugins: {
markdownMath: {
type: 'katex',
}
}
}),
})
```