This is the 27th day of my participation in the November Gwen Challenge. Check out the event details: The last Gwen Challenge 2021

preface

As you often write articles, it is too bad that you do not have your own chart bed. Today, I will take you to build your own free chart bed hand in hand.

Typroa

First, we need to download Typora, an editor that is incredibly simple but still powerful. It works seamlessly with Markdown.

Download and install your own, but when we use Typora, all the images are saved locally and you need to process them separately if you want to publish them online. So I built a free chart bed, and here I chose Gitee.

A graphic bed is an online space designed to hold pictures and allow you to connect them to other places, and many of them are free. When you set up your chart bed, links to images inserted into your blog can be previewed online anytime, anywhere.

So how do you convert a local image to upload to Gitee? Here we need another tool PicGo, which is a tool that automatically converts local images into links. There are a lot of graph bed tools on the Internet, and PicGo is a better graph bed tool in terms of the types currently used.

Download PicGo

Choose your own version to download, I use Windows to download the following files.

Configure PicGo – Preconditions

First, create a public repository for image storage. Create a master branch and a readme file. For example, I create a public repository named Image. Then I created a new file img under the warehouse as the image directory.

Note here, my repo address is gitee.com/kelisi_kris… Because we can customize the domain namespace, so I’m going to customize kelisi_kris

We need to log in to Gitee and get our tokens

Click on private token – to generate a new token, the description here can look like “use PicGo” or something like that. Then click Submit.

Remember to save the generated token and use it later.

Configuration PicGo

Add the plug-in

Open the PicGo plugin Settings and search for Gitee. It is said that only one Gitee plugin is required. Here I click download. In addition, you need to download the Gitee plug-in, which requires a local Node environment, because you need to use the NPM tool, so you need to install the Node ha, download the address here

Open PicGo’s bed Settings and find Gitee upload

This configuration must correspond to the repO address created in the previous step. Otherwise we won’t find it. Also note here, to click on the default map bed.

Typora configuration

Go to File-Preferences

So that’s set up, we’ll just copy the image into Typora and it’ll tell you whether to upload it or not, so you can just click upload. We can see the image in gitee’s REPO.