Skip to content

Commit

Permalink
Merge pull request #57 from bauglir/fix-formatting-and-tikz-support-d…
Browse files Browse the repository at this point in the history
…ocumentation

Fix formatting and TikZ/PGF support documentation
  • Loading branch information
bauglir authored Mar 21, 2024
2 parents c00adc5 + 76e027c commit 0a46abd
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/Kroki.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ DIAGRAM_TYPE_METADATA = Dict{Symbol, DiagramTypeMetadata}(
:structurizr => DiagramTypeMetadata("Structurizr", "https://structurizr.com"),
:svgbob =>
DiagramTypeMetadata("Svgbob", "https://ivanceras.github.io/content/Svgbob.html"),
:symbolator => DiagramTypeMetadata("Symbolator", "https://github.com/kevinpt/symbolator"),
:tikz => DiagramTypeMetadata("Symbolator", "https://github.com/pgf-tikz/pgf"),
:symbolator =>
DiagramTypeMetadata("Symbolator", "https://github.com/kevinpt/symbolator"),
:tikz => DiagramTypeMetadata("TikZ/PGF", "https://github.com/pgf-tikz/pgf"),
:umlet => DiagramTypeMetadata("UMLet", "https://github.com/umlet/umlet"),
:vega => DiagramTypeMetadata("Vega", "https://vega.github.io/vega"),
:vegalite => DiagramTypeMetadata("Vega-Lite", "https://vega.github.io/vega-lite"),
Expand Down Expand Up @@ -334,17 +335,8 @@ const LIMITED_DIAGRAM_SUPPORT = MIMEToDiagramTypeMap(
:vegalite,
:wireviz,
),
MIME"image/svg+xml"() => (
:bpmn,
:bytefield,
:d2,
:dbml,
:excalidraw,
:nomnoml,
:pikchr,
:svgbob,
:wavedrom
),
MIME"image/svg+xml"() =>
(:bpmn, :bytefield, :d2, :dbml, :excalidraw, :nomnoml, :pikchr, :svgbob, :wavedrom),
MIME"text/plain"() => (:c4plantuml, :plantuml, :structurizr),
MIME"text/plain; charset=utf-8"() => (:c4plantuml, :plantuml, :structurizr),
)
Expand Down

0 comments on commit 0a46abd

Please sign in to comment.