asciidoctor / asciidoctor-vscode

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

Ctrl + Alt + V break #879

Open edl7878 opened 6 months ago

edl7878 commented 6 months ago

Sample

= Document Title
:imagesdir: new/path/to/images

Issue

When inserting an image using Ctrl + Alt + v from clipboard, image will not be created, and the insert image macro will broken.

edl7878 commented 6 months ago

The asciidoc content likes below:

# test

----
= Document Title
:imagesdir: new/path/to/images
----

As uplist, there is a delimited block contains two lines, and one line start with :imagesdir:

Issue When inserting an image using Ctrl + Alt + v from clipboard, image will not be created, and the insert image macro will broken.