Markdown编辑器

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值