Closed peterxcli closed 5 months ago
@0x-jerry Please help me to review. Thx.
@peterxcli Thanks for your contribution! Previously, I implemented this function for Hexo post asset folder, not for Global asset folder. So I think we may need an option, maybe hexo.pasteFolderType
to specify the asset folder type, and the default value should be post
to be compatible with the existing version.
A workaround is to disable the past image shortcut of this extension and use vscode-paste-image instead.
If you want to disable past image shortcut, here is an example: https://github.com/0x-jerry/vscode-hexo-utils/issues/45#issuecomment-1013111551
@0x-jerry Thanks for your opinion. I have adopted your idea, please review it again.
move pasted image into images folder, then the image can show image in the built post