mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
424 stars 129 forks source link

Add new line to Insert Pattern #58

Open bwklein opened 4 years ago

bwklein commented 4 years ago

Is there a way to add a linebreak or new line to the insert pattern string?

I would like something like this in the settings: [#imageId]\n.Caption\n${imageSyntaxPrefix}${imageFileName}${imageSyntaxSuffix}

So that the resulting text for the image in the document is like:

[#imageId]
.Caption
image::imageFileName.png[]

I would then manually update the imageId and Caption text for that image.

LiorAvrahami commented 2 years ago

I would also very much like to add this