Upload image to cdn, Visual Studio Code Extension
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
For example:
This extension contributes the following settings:
img2cdn.uploadApiUrl
: backend api url for upload image.img2cdn.uploadApiResKey
: After the plugin sends a request to upload an image and receives a response, it will obtain the image URL according to the format of theuploadApiResKey
field, such asres.data.data
.img2cdn.language
: default message language,en
orzh
.img2cdn.imagePathWhitelist
: string array, if image url includes some string in imagePathWhitelist, there will not show upload btn.img2cdn.deleteLocalImage
: After replacing the local image, delete it.img2cdn.tinypngApiKey
: Tinypng API key to compress image.img2cdn.tinypngTimeout
: Tinypng compress image timeout.
Users appreciate release notes as you update your extension.
Initial release
Enjoy!