安装kroki
docker run -p8000:8000 --name kroki -d yuzutech/kroki:0.14.0
样例
seqdiag {browser -> webserver [label = "GET /index.html"];browser <-- webserver;browser -> webserver [label = "POST /blog/comment"];webserver -> database [label = "INSERT comment"];webserver <-- database;browser <-- webserver;
}
Reference
- yuzutech/kroki - Docker Image | Docker Hub