Skip to content

Commit

Permalink
feat: support WireViz diagrams
Browse files Browse the repository at this point in the history
Uses https://github.com/formatc1702/WireViz to render wiring diagrams.
Support was added in [email protected].

References #42.
  • Loading branch information
bauglir committed Mar 21, 2024
1 parent 59f4008 commit 04addeb
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 @@ -259,6 +259,7 @@ DIAGRAM_TYPE_METADATA = Dict{Symbol, DiagramTypeMetadata}(
:vega => DiagramTypeMetadata("Vega", "https://vega.github.io/vega"),
:vegalite => DiagramTypeMetadata("Vega-Lite", "https://vega.github.io/vega-lite"),
:wavedrom => DiagramTypeMetadata("WaveDrom", "https://wavedrom.com"),
:wireviz => DiagramTypeMetadata("WireViz", "https://github.com/formatc1702/WireViz"),
)

"""
Expand Down Expand Up @@ -328,6 +329,7 @@ const LIMITED_DIAGRAM_SUPPORT = MIMEToDiagramTypeMap(
:umlet,
:vega,
:vegalite,
:wireviz,
),
MIME"image/svg+xml"() => (
:bpmn,
Expand Down

0 comments on commit 04addeb

Please sign in to comment.