Skip to content

Commit

Permalink
fix: replace JPEG with PDF output for PlantUML and Structurizr
Browse files Browse the repository at this point in the history
JPEG support for these diagram types has been changed in Kroki itself as
of [Kroki@0.21.0](https://github.com/yuzutech/kroki/releases/tag/v0.21.0).

References yuzutech/kroki#1536.
  • Loading branch information
bauglir committed Mar 21, 2024
1 parent 04addeb commit 6d219cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Kroki.jl
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,16 @@ const LIMITED_DIAGRAM_SUPPORT = MIMEToDiagramTypeMap(
:nwdiag,
:packetdiag,
:rackdiag,
:c4plantuml,
:erd,
:graphviz,
:plantuml,
:structurizr,
:tikz,
:vega,
:vegalite,
),
MIME"image/jpeg"() => (:c4plantuml, :erd, :graphviz, :plantuml, :structurizr, :tikz, :umlet),
MIME"image/jpeg"() => (:erd, :graphviz, :tikz, :umlet),
MIME"image/png"() => (
:blockdiag,
:seqdiag,
Expand Down

0 comments on commit 6d219cf

Please sign in to comment.