Closed raboley closed 5 years ago
+1, and it's better that don't include the extention name and the path into the alt text. File name is enough, like this
+1 on this feature. I'd also prefer just the file name without the extension as the default.
A setting similar to insertPattern
is nice to have as well so we can do other things like include extension.
Hello, you can set insertPattern
to ![${imageFileName}](${imageFilePath})
or ![${imageFileNameWithoutExt}](${imageFilePath})
@mushanshitiancai Great! I think you should mention this as an example in insertPattern and explicitely mention the word "alternative text" and "alt text" so it's obviously as a use case :) I'll make a PR.
Ah never mind, it's already in the README.md on the repo, but not pushed to the VSCode Marketplace yet. I'll open an issue on that instead.
Hi love this extensions! Maybe I'm not using the settings correctly, but when I highlight a word then paste in the image it pastes in like this:
but it would be really nice if the alt text could automatically be updated with the file name or path when pasting it in.
Thank you again for your hard work I love this extension makes documentation so much easier!