Markdown editor typora configuration associated Alibaba cloud oss image bed

Markdown editor typora configuration associated Alibaba cloud oss ​​image bed

Recently, it was discovered that the new version of typora can support a variety of image beds, such as Qiniu Cloud, Alibaba Cloud, and github.

Version requirements: above 0.9.86

image-20210525093124110
1. Click "File" - Preferences - Image
image-20210525093331490
2. Set the configuration file

Because my server uses Alibaba Cloud, Ali oss map bed is usually used a lot, so I configured Ali's map bed.

Open the configuration file:

{
    
    
  "picBed": {
    
    
    "uploader": "aliyun",
    "aliyun": {
    
    
    "accessKeyId": "xxxxxxxxx",
    "accessKeySecret": "xxxxxxxxxxxxxxxxxx",
    "bucket": "shukai",
    "area": "oss-cn-hangzhou.aliyuncs.com",
    "path": "img/",
     "customUrl": "https://shukai.oss-cn-hangzhou.aliyuncs.com",
     "options": ""
    }
  },
  "picgoPlugins": {
    
    }
}
image-20210525094321373

Obtain the accessKey information of Ali OSS:

image-20210525100856406

Click to view:

image-20210525101000170

3. Test connection

Click Verify:

image-20210525094438207

Upload succeeded:

image-20210525094528127

This is just one of the ways to install PicGo software:

image-20210525094721461

Without further ado, here are the pictures:

Obviously, when copying a picture, the picture will be automatically uploaded to the picture bed, and the address will also change:

image-20210525095542916

At this point, you're done!

The plug-in Typora is very friendly to people who frequently update blogs, because most blogs support markdown format, so articles edited in typora can be directly copied to the corresponding blog editor and used, which is very convenient.

4. Test the blog post:

It’s ok to copy the content of the markdown document directly, don’t be too convenient

image-20210525101404690

5. The article is published:

image-20210525101925452

Guess you like

Origin blog.csdn.net/SHUKAI618/article/details/117251153