Skip to content

Commit

Permalink
feat: support DBML diagrams
Browse files Browse the repository at this point in the history
Uses https://github.com/softwaretechnik-berlin/dbml-renderer to render
https://dbml.org diagrams. Support was added in Kroki@0.19.0.

References #42.
  • Loading branch information
bauglir committed Mar 21, 2024
1 parent 134bfcd commit c03743a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kroki.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ DIAGRAM_TYPE_METADATA = Dict{Symbol, DiagramTypeMetadata}(
"https://github.com/plantuml-stdlib/C4-PlantUML",
),
:d2 => DiagramTypeMetadata("D2", "https://d2lang.com"),
:dbml => DiagramTypeMetadata("DBML", "https://dbml.org"),
:diagramsnet => DiagramTypeMetadata("diagrams.net", "https://diagrams.net"),
:ditaa => DiagramTypeMetadata("ditaa", "http://ditaa.sourceforge.net"),
:erd => DiagramTypeMetadata("erd", "https://github.com/BurntSushi/erd"),
Expand Down Expand Up @@ -327,6 +328,7 @@ const LIMITED_DIAGRAM_SUPPORT = MIMEToDiagramTypeMap(
:bpmn,
:bytefield,
:d2,
:dbml,
:excalidraw,
:nomnoml,
:pikchr,
Expand Down

0 comments on commit c03743a

Please sign in to comment.