DocumenterDiagrams.jl

Diagram features for Documenter.jl, powered by Kroki.jl
Author pedromxavier
Popularity
6 Stars
Updated Last
10 Months Ago
Started In
April 2023

DocumenterDiagrams.jl

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

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;

Used By Packages

No packages found.