当前位置: 代码迷 >> 综合 >> How to draw based on kroki in asciidoctor
  详细解决方案

How to draw based on kroki in asciidoctor

热度:38   发布时间:2023-12-14 23:20:19.0

安装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
  相关解决方案