【vscode】(202402) plantuml无法正常显示预览

问题

1
2
3
4
5
6
7
8
9
Error: plantuml.jar file not found: ""

Please download plantuml.jar from https://plantuml.com/download.


If you are using VSCode or coc.nvim, then please set the setting "markdown-preview-enhanced.plantumlJarPath" to the absolute path of plantuml.jar file.

If you don't want to use plantuml.jar, then you can use the online plantuml server
by setting the setting "markdown-preview-enhanced.plantumlServer" to the URL of the online plantuml server, for example: https://kroki.io/plantuml/svg/
1
2
3
4
5
6
7
8
9
@startuml 
title 标题
participant "a" as a
participant "b" as b

-> a : 123
a -> b: 321

@enduml

image.png

解决

image.png

image.png


【vscode】(202402) plantuml无法正常显示预览
http://example.com/2024/02/21/software/【vscode】(202402) plantuml无法正常显示预览/
作者
ningan123
发布于
2024年2月21日
许可协议