Skip to content
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

VSCode-七牛云插件 #98

Open
itgoyo opened this issue Dec 12, 2018 · 0 comments
Open

VSCode-七牛云插件 #98

itgoyo opened this issue Dec 12, 2018 · 0 comments

Comments

@itgoyo
Copy link
Owner

itgoyo commented Dec 12, 2018

下载链接 https://marketplace.visualstudio.com/items?itemName=favers.paste-image-to-qiniu

输入命令:

ext install paste-image-to-qiniu

或者在插件应用商店搜索paste-image-to-qiniu安装

参数设置

{
    // 有效的七牛 AccessKey 签名授权
    "pasteImageToQiniu.access_key": "*****************************************",

    // 有效的七牛 SecretKey 签名授权
    "pasteImageToQiniu.secret_key": "*****************************************",

    // 七牛图片上传空间
    "pasteImageToQiniu.bucket": "blog",

    // 七牛图片上传路径,参数化命名,暂时支持 ${fileName}、${mdFileName}、${date}、${dateTime}
    // 示例:
    //   ${fileName}-${date} -> picName-20160725.jpg
    //   ${mdFileName}-${dateTime} -> markdownName-20170412222810.jpg
    "pasteImageToQiniu.remotePath": "${fileName}",

    // 七牛图床域名
    "pasteImageToQiniu.domain": "http://xxxxx.xxxx.com",

    // 本地储存位置
    "pasteImageToQiniu.localPath":"./img"
}

注意

domain 一定要加上http://,否则会出错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant