background

In the process of article writing, the function of picture insertion is often used, which takes time and effort to insert individual pictures one by one. By automatically uploading the picture to the graph bed when the picture is opened in the article and only inserting the picture link in the article, it can realize the correct display when the article is published on any platform and improve the efficiency.

Setup steps

Create a code cloud repository

  1. Create a new warehouse on Gitee

  2. In Administration – Warehouse Settings – Basic Information, change open Source to Open Source and check the 3 commitments

  3. Click your avatar – Settings – Security Settings – Private Token to generate a new Token. Copy and save the generated Token, which will be used next. Note that Token tokens appear only once and must be saved.

Installation of map bed upload tool

  1. Download the latest installation package from the PicGo website:Github.com/Molunerfinn…

  2. Once the installation is complete, open the details window, search for and install the Giee-Uploader plug-in in the plug-in

  3. Select Gitee in bed Settings, Enter the address of the library created by the code cloud (remove the prefix of gitee.com/), branch name (master branch by default), Token string (Token generated in step 3 of “Create code cloud repository”), image file save path (for example, IMG folder). And click Set as default map bed.

Typora image automatic upload Settings

  1. Select “Upload picture when Inserting picture” in preference setting-Image, so typora will automatically upload the picture to the picture bed every time inserting picture into the article. Meanwhile, choose Picgo. app in the upload service as the picture bed upload tool.
  2. Once set up, you can verify that Typora has successfully uploaded images to the tabletop by clicking “Verify Image Upload options.”
  3. When we insert an image into a Typora article, it will automatically upload it to the image bed and generate the image path.

After the above Settings, when we insert an image in typora article, Typora will automatically upload the image to Gitee map bed and insert the URL of the image in the map bed into the article.