Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

antora: image placement #1692

Open
rasmusmk opened this issue Sep 19, 2024 · 1 comment
Open

antora: image placement #1692

rasmusmk opened this issue Sep 19, 2024 · 1 comment

Comments

@rasmusmk
Copy link

rasmusmk commented Sep 19, 2024

Using antora:
in a adoc file I want to add a image:

image::sub_folder/test.png[]

the adoc file and image is placed in antora style:

test_module/pages/sub_folder/test.adoc
test_module/images/sub_folder/test.png

In clion it can find the file but in preview it cannot find the file.

if I change image line to:
image::test.png[]

the preview can find the image, but clion and antora compilation cannot find the image

Environment

Plugin Version: 0.43.1

IntelliJ Details:
CLion 2024.2.1
Build #CL-242.21829.173, built on August 30, 2024

Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
.NET Core v8.0.4 x64 (Server GC)
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2008M
Cores: 8
Registry:
actionSystem.update.actions.warn.dataRules.on.edt=false
debugger.attach.dialog.enabled=true
run.processes.with.pty=TRUE
ide.experimental.ui=true
ide.slow.operations.assertion=false
cache.folding.model.on.disk=false
i18n.locale=
Non-Bundled Plugins:
com.intellij.plugins.vscodekeymap (242.20224.385)
PlantUML integration (7.11.2-IJ2023.2)
org.asciidoctor.intellij.asciidoc (0.43.1)

@rasmusmk rasmusmk added the bug label Sep 19, 2024
@ahus1 ahus1 self-assigned this Oct 27, 2024
@ahus1
Copy link
Contributor

ahus1 commented Oct 27, 2024

I had difficulties to reproduce it - can you please prepare a minimal example as a ZIP file attached to this issue, or point to an example GitHub repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants