Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

Time:2021-4-21

explain:

Ordinary users of gitee provide 5g of storage space, and each warehouse can provide a maximum of 500m of space, which is sufficient for storing pictures.

Click here to see: Typha + nut cloud realizes multi platform synchronous markdown

[TOC]

*Using software

Software name Download address
Typora https://www.typora.io/
PicGo https://github.com/Molunerfin…
node.js https://nodejs.org/zh-cn/down…

1、 Deploy gitee Library

1. Logingitee

2. New warehouse

2.1 click the “+” next to the avatar in the upper right corner and select new warehouse

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

2.2 input warehouse name (optional)

PS: “whether open source” there must choose “open”, easy to store call
Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

2.3 create (don’t close it at first, the warehouse address will be used later)

3. Get the token of the warehouse account

3.1 click the avatar in the upper right corner and select settings

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3.2 click private token in security settings on the left

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3.3 click “generate new Lingpai” on the top right

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3.4 permissions only need “projects”, “user”_ “Info” is the default permission

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3.5 submit (an interface will pop up, and I’ve lost my points, so there’s no screenshot)

*Note to save the generated token, because it only appears once, otherwise it will be regenerated.


2、 Deploy picgo image upload management tool

1. Downloadpicgo

*According to the system version, the end of “. Exe” is the windows system

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

2. Install picgo (please do not install on System Disk C)

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3. Start picgo (if there is no display window, please go to the taskbar in the lower right corner of the desktop)

4. Configure picgo

4.1 installationnode.js(in the next step, picgo needs to use NPM to install the plug-in)

4.2 install the gitee plug-in (picgo does not support gitee by default)

*Click “plug in settings” on the left, search “gitee”, select a plug-in and click “Install”

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

4.3 click “drawing bed setting” on the left and select “gitee”

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

4.4 gitee table setting

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

*Repo: the second half of the address of the gitee warehouse“https://gitee.com/”Part of

Branch: Master branch

*Token: private token created in gitee

Path: the directory path in the warehouse. If it is left blank, it will be stored in the root directory

Set as default drawing bed

4.5 determination


3、 Configure typora

1. Open typora and press the key combinationctrl+,Enter preferences

2. Click “image” in the left menu

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

3. When inserting a picture: select “upload picture”

4. Picgo path: select the. Exe executable file after picgo installation

5. Click to verify the upload (there will be a prompt if it is successful)

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures

6. In picgo and gitee warehouses, you can see the typora image just uploaded after verification

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures
Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures


4、 Picgo manages pictures in the warehouse

Typora uses the gitee drawing bed to realize the automatic conversion of pictures to network pictures


5、 Finish work

Since then, images can be automatically uploaded to the gitee warehouse, no longer worry about the storage of images!!!

Recommended Today

Quickly use the latest 15 common APIs of vue3

Before that, I wrote a blog to introduce the new features of vue3. I had a brief understanding of the features of vue3, and at the end of the article, I gave you a little experience in vue3Compsition APISimple use of Address of last article: follow Youda’s steps and experience the new features of vue3 […]