Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.03 KB

README.md

File metadata and controls

51 lines (42 loc) · 1.03 KB

DocumenterDiagrams.jl

Diagram features for Documenter.jl, powered by Kroki.jl

CI made in BR

Usage

In your make.jl file:

using Documenter
using DocumenterDiagrams

In your source .md:

```@diagram mermaid
graph LR
  D["@diagram block"]
  DJL["Documenter.jl"]
  KJL["Kroki.jl"]
  K["kroki.io"]
  SVG[".svg"]
  
  D --> DJL;
  DJL --> KJL;
  KJL --> K;
  K --> KJL;
  KJL --> DJL;
  DJL ---> SVG;
```

will render as:

graph LR
  D["@diagram block"]
  DJL["Documenter.jl"]
  KJL["Kroki.jl"]
  K["kroki.io"]
  SVG[".svg"]
  
  D --> DJL;
  DJL --> KJL;
  KJL --> K;
  K --> KJL;
  KJL --> DJL;
  DJL ---> SVG;
Loading