实现步骤:
Gitee创建图床仓库
下载PicGo工具
设置PicGo工具的Gitee图床
修改Typora工具的偏好设置中的图像
测试图床是否设置成功
下载PicGo工具(推荐正式版)
https://github.com/Molunerfinn/picgo/releases
![](https://i-blog.csdnimg.cn/blog_migrate/ae5ce2bfbc1d617b61b5a835b310c65a.png)
下载插件:
![](https://i-blog.csdnimg.cn/blog_migrate/9fa18b3a2331d16bc9c2db0a7494ad08.png)
配置Gitee图床:
![](https://i-blog.csdnimg.cn/blog_migrate/58922275d545964b489cd4a9adbc0876.png)
配置文件:
{
"picBed": {
"current": "gitee",
"uploader": "gitee",
"gitee": {
"branch": "master",
"customPath": "yearMonth",
"customUrl": "",
"path": "gitee仓库中存在的你需要进行图片存储的文件夹,例如:user/imgs",
"repo": "GItee用户名/图床仓库名",
"token": "Gitee申请的图床个人Token"
}
},
"picgoPlugins": {
"picgo-plugin-gitee-uploader": true,
"picgo-plugin-super-prefix": true
},
"picgo-plugin-gitee-uploader": {
"lastSync": "2023-01-22 09:58:52"
}
}