Skip to content

Generating HTML with diagrams failed. #1968

@Frank-Hildebrandt

Description

@Frank-Hildebrandt

Hello,

I have an AsciiDoc document with a ditaa diagram. In the preview I can see the rendered diagram. When I create a PDF, then the diagram will be shown as expected. When I create a HTML, then the diagram will not be displayed. Instead a message will be displayed.

Failed to generate image: Input/output error - C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2025.2.1\images

It seems that for HTML generation a wrong base directory for diagrams will be used. The displayed directory is the install directory of IntelliJ and not the directory of the AsciiDoc document.

I use the following attributes in the document.

:imagesoutdir: images
:imagesdir: images

As I wrote. Creation of a PDF is ok and of a HTML is not ok.

On another PC with plugin version 0.38.20 and IntelliJ version 2022.1.4 everything works as expected.

Thanks in advance.

Frank

Plugin Version: 0.44.10

IntelliJ Details:

IntelliJ IDEA 2025.2.6 (Community Edition)
Build #IC-252.28539.13, built on December 10, 2025
Source revision: 1b71c21a2235f
Runtime version: 21.0.9+1-b1038.78 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 10
Registry:
ide.experimental.ui=true
llm.show.ai.promotion.window.on.start=false
Non-Bundled Plugins:
org.jetbrains.completion.full.line (252.28539.13)
Subversion (252.28539.22)
org.jetbrains.idea.maven (252.28539.13)
org.asciidoctor.intellij.asciidoc (0.44.10)
Kotlin: 252.28539.13-IJ

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions