Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/plugins/markdown/markdown-chart/mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Besides using mermaid, you can also use the following code blocks:
- packet: `packet-beta`
- radar: `radar-beta`
- sankey: `sankey-beta`
- treemap: `treemap-beta`
- xy: `xychart-beta`

You do not need to declare diagram type and intent your code.
Expand Down
1 change: 1 addition & 0 deletions docs/zh/plugins/markdown/markdown-chart/mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default {
- packet: `packet-beta`
- radar: `radar-beta`
- sankey: `sankey-beta`
- treemap: `treemap-beta`
- xy: `xychart-beta`

你不需要再声明图表类型,也不需要缩进图表代码。
Expand Down
2 changes: 1 addition & 1 deletion plugins/markdown/plugin-markdown-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"markmap-lib": "^0.18.11",
"markmap-toolbar": "^0.18.10",
"markmap-view": "^0.18.10",
"mermaid": "^11.4.1",
"mermaid": "^11.8.0",
"vuepress": "catalog:"
},
"peerDependenciesMeta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const DIAGRAM_MAP: Record<string, [diagramName: string, indent?: boolean]> = {
'packet': ['packet-beta', false],
'sankey': ['sankey-beta', false],
'xy': ['xychart-beta', false],
'treemap': ['treemap-beta', false],
'radar': ['radar-beta'],
}

Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading