Typora 轻量化配置自动上传图片至Gitee
Typora 轻量化配置自动上传图片至Gitee目录
目录
前言
下载upgit
创建Gitee仓库
配置upgit和typora
功能测试
前言
各位师傅可能会在使用Typora写有图博客的时候,出现上传博客网站手动重新导图,本文主要使用upgit实现轻量化的自动上传图片至Gitee仓库。这样上传博客网站时一个CV大法就搞定。
下载upgit
[*]upgit是啥
[*]Upgit 可以快捷地将文件上传到 Github 仓库并得到其直链。简洁跨平台,不常驻内存。
[*]可作为 Typora 的自定义上传器使用。
[*]太长不看:本程序用于快速上传。配合 AHK 可以帮助你一键完成截图、上传、复制链接的操作。
[*]从 Release 下载.
[*]如果不知道下载哪一个:
对于大多数 Windows用户,请选择 upgit_win_amd64.exe
对于大多数 macOS用户,请选择 upgit_macOS_arm64
[*]下载后将其重命名为upgit(对于Windows用户,upgit.exe),保存到某处。若要从任何地方访问它,请将其目录添加到 PATH 环境变量中。
[*]提醒: 此程序不会自动检查更新。
[*]下载安装演示
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686622225.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686622639.png
创建Gitee仓库
[*]第一步:打开Gitee,新建一个仓库
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623029.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623298.png
[*]第二步:将仓库设置为开源,没试过不开源,大家可以自行测试
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623425.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623502.png
[*]第三步:配置私人令牌,点击传送门,进行私人令牌配置
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623741.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686623925.png
配置upgit和typora
[*]配置upgit,打开config.toml
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686624250.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686624424.png
[*]配置typora
[*]打开 文件->偏好设置或者使用快捷键Ctrl + 逗号。
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686624848.png
至此已配置完毕
功能测试
[*]使用偏好设置中的验证图片上传选项进行测试
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686625051.png
[*]在正文放入一张测试
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686625278.png
https://gitee.com/Panda__777/typora-image/raw/master/2023/06/upgit_20230613_1686625297.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页:
[1]