telesoho / vscode-markdown-paste-image

Smartly paste for Markdown.
MIT License
135 stars 41 forks source link

Enable 'invalid' filenames #5

Closed LemuelCushing closed 7 years ago

LemuelCushing commented 7 years ago

First, I want to thank you for taking on this wonderful little extension - it's superbly useful and the small changes you've made are really well done.

One issue/request, though - not sure what the criteria for a valid filename are, but it seems to be all lower caps, which seems a bit too strict. I currently have to manually input the name due to this restriction, and it'd be great if it could be optional.

While we're at it, having a default storage instead of prompting for a path each time would also be a nice option to opt-in to, but it's a minor thing.

Once again, thanks!

telesoho commented 7 years ago

Thank you for your help. I have fixed it. you can use uppercase character as filename now. Also, I have add pasteImage.silence config option to enable/disable showing confirm box while paste image. Set pasteImage.silence=true in your config file, the pasted file will be save in default storage with no prompting.

LemuelCushing commented 7 years ago

Wonderful, thank you!