mushanshitiancai / vscode-paste-image

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

How to get the default name to be YYYY-MM-DD_HH-mm-ss_<selected text> #114

Open henrik-forsell opened 2 years ago

henrik-forsell commented 2 years ago

If I select a text then hit ctrl-alt-v the file will be named .png

I would like to be able to name the file to YYYY-MM-DDHH-mm-ss.png

Is there a way to do this with the current settings? I could not get it to work with adding "YYYY-MM-DD_HH-mm-ss" in Name Prefix, but it became the actual text, not the actual date.

And also, would it be possible to have an option to select text and have that as the alt text?