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
1. Click "File" - Preferences - Image
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": {
}
}
Obtain the accessKey information of Ali OSS:
Click to view:
3. Test connection
Click Verify:
Upload succeeded:
This is just one of the ways to install PicGo software:
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:
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