asciidoctor / asciidoctor-vscode

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

Ctrl + Alt + V break #879

Open edl7878 opened 1 month ago

edl7878 commented 1 month 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 1 month 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.