-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
encoding image file name #117
Comments
@lghio there's already logic in the code to handle encoding for spaces. To make that work, you need to enable the config item |
I understand the settings but it only works on the imagePath, it does not work on the imageName |
Oh I think you're right, it's encoding applied to the vscode-paste-image/src/extension.ts Lines 383 to 387 in fb79532
It looks like it would be a relatively easy fix to add an encoding for the filename specifically. That's what you're asking for, right? |
Yes that's it ;-) |
I've no idea, I don't have any access to this repo, just a developer using this extension :-) |
I'm using this pattern to insert the relative link to my images
and unfortunately the spaces aren't encoded.
Could you add an option to encode the variables "imageFileName" ?
Thank you for this great extension
The text was updated successfully, but these errors were encountered: