vscode-paste-image
vscode-paste-image copied to clipboard
[feature request] support encoding img to base64 and link with referer when c-a-v
there could be annoying that always create local img file after press c-a-v.
can we add an option to support encoding img to base64 and link with referer in the file when c-a-v?
hi, @NewUserHa
Do your ideas fit in this video? https://drive.google.com/file/d/1wQVrYstNQ9DhanRFBxhcgfPZVVPY2GkU/view?usp=sharing
hi, @sakamoto66
The video is right.
That the img in preview windows could be saved to file via right-click can be better.
Do you know if the change can be merged?
It doesn't seem to be active now, so I fork it and maintain it. I have no plans to merge.
https://github.com/sakamoto66/vscode-paste-image https://marketplace.visualstudio.com/items?itemName=sakamoto66.vscode-paste-image
This feature has just been released.
That the img in preview windows could be saved to file via right-click can be better.
preview windows not have context menu. https://code.visualstudio.com/api/references/contribution-points#contributes.menus
If you have a good idea, let me know!
the last activity of this repo was about 6 months ago. And it could be awesome if everyone can also benefit from this feature.
hope this repo can check the PR list soon and there's a PR of this feature.
thanks
saving base64 to file may use the right-click menu when selecting the img base64 content in the editor window, and may combine with the current behavior on shortcuts when pasting via settings.
Hi, @NewUserHa
sakamoto66.vscode-paste-image has been updated to version 1.1.8.
Support convert base64 text of clipboard to image data!
- Copy base64 text (Ctrl + C)
- Paste Image (Ctrl + Alt + V)
or
Select
Create image from clipboardto context menu or SelectPaste image of clipboardto context menu
Great. thanks but a lot of users can't get this update
I just tried It was installed when reboot.
I meant これをもうインストールしている他の人は、この更新取得できない
Please try.
select Check for extention Updates to extention menu ...

it can't be previewed

It's a problem with markdown.
before
![][2020-08-31-15-21-17.png]
[2020-08-31-15-21-17.png]:data:image/png;base64,
after
![][2020-08-31-15-21-17.png]
[2020-08-31-15-21-17.png]:data:image/png;base64,
note: add empty line under line of "![][2020-08-31-15-21-17.png]".
it worked.