asciidoctor / asciidoctor-intellij-plugin

AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)
https://intellij-asciidoc-plugin.ahus1.de/
Apache License 2.0
345 stars 146 forks source link

Using Kroki with attribute kroki-plantuml-include doesn't render preview #639

Closed ahus1 closed 3 years ago

ahus1 commented 3 years ago

Observed vs. expected behavior

When using the attribute kroki-plantuml-include, the preview displays a broken image.

Instead, I would have expected an image in the preview.

(discovered when testing examples from https://github.com/asciidoctor/asciidoctor-diagram/issues/335)

Steps to reproduce

sample:

:kroki-plantuml-include: roles.puml

[plantuml]
----
rectangle checkout {
  customer -- (checkout)
  (checkout) .> (payment) : include
  (help) .> (checkout) : extends
  (checkout) -- clerk
}
----

roles.puml:

left to right direction
skinparam packageStyle rectangle
skinparam monochrome true
actor customer
actor clerk

Environment

Plugin Version: 0.32.8

ahus1 commented 3 years ago

Created pull request in upstream project: https://github.com/Mogztter/asciidoctor-kroki/pull/195

ahus1 commented 3 years ago

This fixed in pre-release 0.32.9.

The pre-release of the plugin is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.