Skip to content

Commit 0a46abd

Browse files
authored
Merge pull request #57 from bauglir/fix-formatting-and-tikz-support-documentation
Fix formatting and TikZ/PGF support documentation
2 parents c00adc5 + 76e027c commit 0a46abd

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

src/Kroki.jl

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,9 @@ DIAGRAM_TYPE_METADATA = Dict{Symbol, DiagramTypeMetadata}(
253253
:structurizr => DiagramTypeMetadata("Structurizr", "https://structurizr.com"),
254254
:svgbob =>
255255
DiagramTypeMetadata("Svgbob", "https://ivanceras.github.io/content/Svgbob.html"),
256-
:symbolator => DiagramTypeMetadata("Symbolator", "https://github.com/kevinpt/symbolator"),
257-
:tikz => DiagramTypeMetadata("Symbolator", "https://github.com/pgf-tikz/pgf"),
256+
:symbolator =>
257+
DiagramTypeMetadata("Symbolator", "https://github.com/kevinpt/symbolator"),
258+
:tikz => DiagramTypeMetadata("TikZ/PGF", "https://github.com/pgf-tikz/pgf"),
258259
:umlet => DiagramTypeMetadata("UMLet", "https://github.com/umlet/umlet"),
259260
:vega => DiagramTypeMetadata("Vega", "https://vega.github.io/vega"),
260261
:vegalite => DiagramTypeMetadata("Vega-Lite", "https://vega.github.io/vega-lite"),
@@ -334,17 +335,8 @@ const LIMITED_DIAGRAM_SUPPORT = MIMEToDiagramTypeMap(
334335
:vegalite,
335336
:wireviz,
336337
),
337-
MIME"image/svg+xml"() => (
338-
:bpmn,
339-
:bytefield,
340-
:d2,
341-
:dbml,
342-
:excalidraw,
343-
:nomnoml,
344-
:pikchr,
345-
:svgbob,
346-
:wavedrom
347-
),
338+
MIME"image/svg+xml"() =>
339+
(:bpmn, :bytefield, :d2, :dbml, :excalidraw, :nomnoml, :pikchr, :svgbob, :wavedrom),
348340
MIME"text/plain"() => (:c4plantuml, :plantuml, :structurizr),
349341
MIME"text/plain; charset=utf-8"() => (:c4plantuml, :plantuml, :structurizr),
350342
)

0 commit comments

Comments
 (0)