vscode-markdown-preview-enhanced
vscode-markdown-preview-enhanced copied to clipboard
[BUG] connection to internal kroki server for plantuml rendering via https does not work
Describe the bug A clear and concise description of what the bug is.
Environment
- OS: Windows 10
- VSCode: 1.86.0
- Markdown Preview Enhanced: 0.8.11
To Reproduce Steps to reproduce the behavior:
- Configure markdown-preview-enhanced.plantumlServer with an internal kroki server, that is reachable over https (example "markdown-preview-enhanced.plantumlServer": "https://kroki.corp:8000/"
- Restart vs code
- Open a simple markdown file, with included plantuml render and open Prview Enhanced Preview on the side
- plantuml can not be rendered because of
FetchError: request to https://kroki.corp8000/ failed, reason: unable to verify the first certificate
Expected behavior Able to render the plantuml. Or to know, where to configure the additonal certificate (is java used by Markdown Enhanced Preview? Which java?)
Markdown file
Kroki Integration
You can use it inline like this:
Bob -> Alice : hello
Alice -> Bob : hi
Config vscode proxy to access kroki.io in settings.json for online image generation
"http.proxy": "socks://127.0.0.1:7890",
or install a Self-Managed instance local,change settings.json
"markdown-preview-enhanced.krokiServer": "https://kroki.myserver.local"