Releases: mikitex70/plantuml-markdown
Removed forgotten test code
Removed test code that caused problems with Windows.
Added Kroki server support
With this release a Kroki server can be used as replacement for a PlantUML server for remote image rendering.
In the case of a Kroki server there are a couple o different behaviors:
- image maps are note (yet) supported by the server, disable them with the
image_maps
configuration - Kroki does not render an image with syntax errors; instead, a text with kroki's error message is inserted in place of the image.
Fixed rendering of yaml structures with remote server
When rendering plantuml yaml diagrams on a remote server, the spaces were removed from the lines and the diagram was not drawn as expected.
Removed an unused `plantuml` import
Removed a forgotten import after removing the plantuml
package.
Fixed external includes
Rendering via servers using external includes (as in AWS Hello World Icons did not work due to the url defined by a !define
directive.
Also, removed dependecy from the plantuml
package.
Fixed image map detection on Windows
On Windows the image map detection was not working properly cause the different end-of-line terminator.
Ffixed error with external plantuml server
When using an external PlantUML server to render diagrams, if a diagram has syntax errors and the remote server returns an error code (HTTP >= 400), and exception was thrown immediately stopping markdown parsing.
Now the error is intercepted and logged, and markdown can continue its work.
Removed unnecessary uuid lib requirement
Added support for image maps
When the output format is png
and the diagrams contains an hyperlink, a map
tag and related area
tags are added to the output so the links are active.
Forced utf-8 encoding for source files
Now the character encoding for external files (referenced by the source
parameter) is utf-8
, even in Windows.
Use the encoding
configuration option to force a different character encoding.