更改MD文件中的偏好设置
设置中选择图像一栏,更改上传服务为PicGo(app)
下载PicGo软件
https://github.com/Molunerfinn/PicGo/releases
windows 选择.exe,mac选择.dmg
注意:安装前需要保证自己电脑已经安装Node.js
在PicGO选择插件设置下载gitee-uploader
选择图床设置
配置gitee设置
- repo:用户名/仓库名称
- branch:master
- token:Gitee的私人令牌
- path:仓库中的路径
- customPath:选年月
- customURL:不用填
私人令牌在gitee设置中的安全设置中拿
进行图片验证
注意:
需要将gitee设置为默认图床,不然会报you must be logged in use 这个错误