🐷

This version of PlantUML is XXX days old

2022/06/14に公開

This version of PlantUML is 219 days old, so you should consider upgrading
と怒られた場合の力技対応。

docker-compose.yaml を書く

docker-compose.yaml
version: "3"
services:
  plantuml-server:
    image: plantuml/plantuml-server
    container_name: plantuml-local-server
    ports:
      - "9876:8080"

コンテナを立ち上げる

% docker compose up -d

VSCode の設定を変更する

"markdown-preview-enhanced.plantumlServer": "http://localhost:9876/svg/",
"plantuml.server": "http://localhost:9876",
"plantuml.render": "PlantUMLServer"

環境

% sw_vers
ProductName:    macOS
ProductVersion: 12.4
BuildVersion:   21F79

% docker --version
Docker version 20.10.16, build aa7e414

% code --version
1.68.0

% code --list-extensions --show-versions | grep 'shd101\|jebbs'
jebbs.plantuml@2.17.2
shd101wyy.markdown-preview-enhanced@0.6.3

Discussion