asciidoctor-vscode icon indicating copy to clipboard operation
asciidoctor-vscode copied to clipboard

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

Open m1027 opened this issue 1 year ago • 0 comments
trafficstars

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

m1027 avatar Dec 05 '23 22:12 m1027