mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
docs: update docs
This commit is contained in:
parent
0fe98a38f1
commit
f7f39b8f32
@ -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
|
||||
|
||||
@ -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) - 页面编译缓存
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user