typora+gitee+picgo-core
作者:互联网
typora+gitee+picgo-core
文章目录
1.设置偏好设置
2.安装插件
确保有nodejs和npm
archlinux
yay -S nodejs npm
安装插件
# 进入目录
cd .config/Typora/picgo/linux
# 安装 super-prefix gitee-uploader
./picgo install super-prefix
./picgo install gitee-uploader
windows路径
C:\Users\rh\AppData\Roaming\Typora\picgo\win64
3.设置图床
命令行配置
./picgo set uploader
#一步一步选择
或者配置文件vim ~/.picgo/config.json
{
"picBed": {
"current": "gitee",
"gitee": {
"repo": "RicardoJia/picbed",
"branch": "master",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"path": "img",
"customPath": "default",
"customUrl": ""
}
},
"picgoPlugins": {
"picgo-plugin-super-prefix": true,
"picgo-plugin-gitee-uploader": true
}
}
4.测试
5.本地图片地址
~/.config/Typora/typora-user-images/
C:\Users\rh\AppData\Roaming\Typora\typora-user-images
windows下bat脚本
del /f /s /q C:\Users\rh\AppData\Roaming\Typora\typora-user-images
记得定时清除
标签:core,Typora,设置,typora,gitee,uploader,picgo 来源: https://blog.csdn.net/Ricardoge/article/details/119642183