How free do own a stable and effective view of bed

Now that a lot of writing platforms support the Markdownsyntax diagram bed leading to more and more people. Occasionally using someone else's bed will be free map image loading out of the situation, or the situation has failed diagram bed picture, think back to pay back the original picture forget what it was like, so the child more harm than good. Ever since set up a problem of their own free map bed becomes very necessary.

PicGo

project address

Application shots are as follows:

Software Download: https://github.com/Molunerfinn/PicGo/releases

We use here is the diagram of Figure Github bed is the bed, that is to upload pictures to our own warehouse Github above, note that 共有仓库if the project is 私有仓库, there may be cases image loading out of there, so here's recommendation to create a warehouse public warehouse, you can name your own free to play (there is not Chinese).
For example, I put my bed called the map PicGoRes, information on how to configure the picture above we get to do their actual configuration, you can refer to the author of the tutorial: Configuration Guide

GitHub map bed

{
  "repo": "", // 仓库名,格式是username/reponame
  "token": "", // github token
  "path": "", // 自定义存储路径,比如img/
  "customUrl": "", // 自定义域名,注意要加http://或者https://
  "branch": "" // 分支名,默认是master
}

1.  First you have to have a GitHub account. Sign GitHub I do not have much to say.

2.  Create a new warehouse

Write down the name of the warehouse you take.

3.  generates a token for PicGo operate your warehouse:

Access: https://github.com/settings/tokens

Then click  Generate new token.

The repo can hook marked. Then turn to the very bottom of the page, click on the  Generate token green button to generate a token.

注意 这个 token 生成后只会显示一次!你要把这个 token 复制一下存到其他地方以备以后要用。

4. 配置 PicGo

** 注意:** 仓库名的格式是用户名/仓库,比如我创建了一个叫做 test 的仓库,在 PicGo 里我要设定的仓库名就是 Molunerfinn/test。一般我们选择 master 分支即可。然后记得点击确定以生效,然后可以点击设为默认图床来确保上传的图床是 GitHub。

至此配置完毕,已经可以使用了。当你上传的时候,你会发现你的仓库里也会增加新的图片了

如果不会配置的可以参考我的配置:

PicGo
itgoyo/PicGoRes
master
67c3d863345axxxxxx
img/
https://raw.githubusercontent.com/itgoyo/PicGoRes/master

以上token请自行更换成自己的token,还有域名请更换成自己的id和仓库名称。

值得注意的是v2.2.0+版本支持截图上传到服务器的功能,还可以设置快捷键:

但是要在插件的地方安装picgo-plugin-quick-capture,然后自己设置一个自己喜欢的快捷键即可截图上传到服务器上,真的是太方便了。


发现更多更好玩的,欢迎关注我的微信公众号: FullStacker

Guess you like

Origin www.cnblogs.com/itgoyo/p/12133344.html