asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
341 stars 97 forks source link

Don't insert images into and preview from `pages` dir when in `antora` mode #830

Open m1027 opened 11 months ago

m1027 commented 11 months ago

I'd like to ask for further tweaks when in antora mode:

In 3.1.10, images are still detected and previewed from the pages directory, although antora wouldn't accept this later on. So, users in antora mode may get misled by the (working) preview.

Especially because...images pasted from the clipboard get inserted into the pages directory and not into the images directory. So, users in antora mode need to remember moving them manually afterwards. It would be fantastic to honor the antora location for the paste action.

Originally posted by @m1027 in https://github.com/asciidoctor/asciidoctor-vscode/issues/434#issuecomment-1826862716