docs: update docs

This commit is contained in:
pengzhanbo 2025-07-10 11:40:43 +08:00
parent 0fe98a38f1
commit f7f39b8f32
5 changed files with 7 additions and 5 deletions

View File

@ -255,7 +255,7 @@ export default defineUserConfig({
---
::: tip 以下配置字段由 [vuepress-plugin-md-enhance](https://plugin-md-enhance.vuejs.press/zh/) 插件实现。
::: tip 以下配置字段由 [@vuepress/plugin-markdown-chart](https://ecosystem.vuejs.press/zh/plugins/markdown/markdown-chart/) 插件实现。
:::
### chartjs

View File

@ -38,7 +38,9 @@ export default defineUserConfig({
- [@vuepress/plugin-markdown-image](https://ecosystem.vuejs.press/zh/plugins/markdown/image.html) - Markdown 图片
- [@vuepress/plugin-markdown-math](https://ecosystem.vuejs.press/zh/plugins/markdown/math.html) - Markdown 数学公式
- [@vuepress/plugin-markdown-include](https://ecosystem.vuejs.press/zh/plugins/markdown/include.html) - Markdown 导入文件
- [vuepress-plugin-md-enhance](https://plugin-md-enhance.vuejs.press/zh/) - Markdown 增强
- [@vuepress/plugin-markdown-chart](https://ecosystem.vuejs.press/zh/plugins/markdown/markdown-chart/) - Markdown 图表
chartjs / echarts / mermaid / flowchart / markmap / plantUML
- [@vuepress/plugin-replace-assets](https://ecosystem.vuejs.press/zh/plugins/tools/replace-assets.html) - 资源链接替换
- [vuepress-plugin-md-power](./markdown-power.md) - Markdown Power
- [@vuepress/plugin-git](https://ecosystem.vuejs.press/zh/plugins/development/git.html) - git 提交信息
- [@vuepress/plugin-cache](https://ecosystem.vuejs.press/zh/plugins/tools/cache.html) - 页面编译缓存

View File

@ -88,7 +88,7 @@ const option = {
你可以在 [客户端配置文件](https://vuejs.press/zh/guide/configuration.html##使用脚本) 中导入并使用 `defineEchartsConfig` 来自定义 Echarts:
```ts
import { defineEchartsConfig } from 'vuepress-plugin-md-enhance/client'
import { defineEchartsConfig } from '@vuepress/plugin-markdown-chart/client'
import { defineClientConfig } from 'vuepress/client'
defineEchartsConfig({

View File

@ -89,7 +89,7 @@ export default defineUserConfig({
中导入并使用 `defineMermaidConfig` 来自定义 Mermaid 配置:
```ts
import { defineMermaidConfig } from 'vuepress-plugin-md-enhance/client'
import { defineMermaidConfig } from '@vuepress/plugin-markdown-chart/client'
import { defineClientConfig } from 'vuepress/client'
defineMermaidConfig({

View File

@ -9,7 +9,7 @@ export interface MarkdownOptions extends MarkdownPowerPluginOptions,
MarkdownChartPluginOptions,
Pick<MarkdownHintPluginOptions, 'alert' | 'hint'> {
/**
* `vuepress-plugin-md-enhance` `demo`
*
* @deprecated use `demo` instead
*/
oldDemo?: never