vscode-markdown-preview-enhanced icon indicating copy to clipboard operation
vscode-markdown-preview-enhanced copied to clipboard

Custom plantuml.jar instead of the integrated version

Open zeroinformatique opened this issue 3 years ago • 3 comments

I'm trying to tell the preview to use a custom local JAR.

I tried to set the plantuml server to the path of the JAR I also tried using a file:// URI, but it only accepts HTTP(S) protocol.

In order to be autonomous on the version used, it would be great to allow our own plantuml.jar.

Thanks a lot, this is an amazing extension.

zeroinformatique avatar Jul 03 '21 16:07 zeroinformatique

The easiest solution would be to put your jar file under ~/.vscode/extensions/shd101wyy.markdown-preview-enhanced-0.5.21/node_modules/@shd101wyy/mume/dependencies/plantuml

shd101wyy avatar Jul 07 '21 02:07 shd101wyy

As https://github.com/shd101wyy/mume/pull/221 added PlantUML server support, perhaps exposing that through configuration of vscode-markdown-preview-enhanced would be an OK solution? Being able to configure the path to plantuml.jar would of course also be nice.

asbjornu avatar Aug 18 '21 14:08 asbjornu

+100 for adding ability to configure location of plantuml.jar file. In my case vscode users are not developers. Therefore, specifically for them we install all plugins via project specific .vscode/extensions.json and configure them in project specific .vscode/settings.json.

We have some tooling which automatically installs plantuml.jar into bin directory of a project.

Being able to configure vscode-markdown-preview-enhanced to use that version would be amazing. Something like:

"markdown-preview-enhanced": {
      "plantuml.jar": "../bin/plantuml.jar"
}

iilyak avatar Mar 29 '22 12:03 iilyak