markdown图片上传

markdown图片上传

一、安装vscode插件PicGo

二、配置PicGo

1、文件–>首选项–>设置–>扩展–>PicGo

2、编辑Custom Output Format,选择输出格式

上传文件后插入的图片格式,我的是![](https://img.mynotes.world${url}),$(url)是上传文件路径

3、Pic Bed: Current,选择使用的存储服务商,我使用的是七牛云

4、Pic Bed › Qiniu: Access Key,配置Access Key

5、Pic Bed › Qiniu: Area,配置七牛云存储区域


访问网站https://developer.qiniu.com/kodo/1671/region-endpoint-fq

6、Pic Bed › Qiniu: Bucket,配置空间名

7、Pic Bed › Qiniu: Secret Key,配置Secret Key