Typora
官网:https://typora.io
安装:https://typora.io/#linux
安装过程参照官网的即可:
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora
安装完成后可以在linux系统的搜索栏中搜索到typora。
配置typora上传图片到github
1.在github上生成Personal access tokens
2.在github上新建个仓库,比如:https://github.com/testAccount/ArticleImages
3.打开typora -> 文件 -> 图像:
(1).上传服务的选择栏里选择 PicGo-Core(command line)
(2).点击 下载或更新 按钮,等待下载完成
(3).点击 打开配置文件 按钮,在打开的文件里添加如下内容:
{
"picBed": {
"github": {
"repo": "testAccount/ArticleImages",
"token": "your github's Personal access tokens",
"path": "img/",
"customUrl": "",
"branch": "master"
},
"current": "github",
"uploader": "github"
},
"picgoPlugins": {}
}
(4).点击 验证图片上传选项 按钮,进行typora的图片上传测试,正常情况下会显示验证成功,并且如果打开 https://github.com/testAccount/ArticleImages 仓库,会在ArticleImages仓库的img目录下看到 typora-icon.png、typora-icon2.png 两张图片,这就是刚刚上传成功的图片。
md文件编辑器_(二)最简洁的Markdowd编辑器:Typora
使用typora写博客的时候,将图片上传到github上面
Typora+PicGo-core插入图片自动上传,gitee,gitgub,sm.ms三种免费图床
设置Typora自动上传图片到github