1、环境:请参考gitee+Typora图片上传的:https://www.cnblogs.com/zjazn/p/14345006.html
2、配置文件:修改为
{ "picBed": { "current": "github", "github": { "repo": "XXX/XXX", "branch": "master", "token": "XXXXXXXXXXXXXX", "path": "img/", //"customUrl": "https://raw.githubusercontent.com/18476305640/typora/master" }, "uploader": "github", "transformer": "path" }, "picgoPlugins": { "picgo-plugin-gitee-uploader": true, "picgo-plugin-smms-user": true } }
配置补充指南:
"repo": "XXX/XXX",
"token": "XXXXXXXXXXXXXX",