Write it at the front
mdIn the editor,
TyporaIt is widely recognized as one of the writing software with better experienceWhat you see is what you getYou do not need to preview in split screen or open a new page preview. In addition, there are many advantages, here do not introduce, not the focus of this article, interested can goOfficial websiteDownload experience.
BetaIn the version,
TyporaIt solves a problem that users are most concerned about: drawing bed.
Here’s how to configure it, and
1、 Download the latest version of typora
2、 Set up image upload
In order to make the operation simple, I’ll put the
TyporaThe language of is set to simplified Chinese, and the default is to follow the system.
Set up the upload image and associate with the map bed tool
It’s also in
Here are three red boxes:
- First, default is not
Upload picturesOption, drop down to select it;
- The second red box suggests that you choose both, so that the pictures you use for writing, whether local or online, will be uploaded directly to your drawing bed;
- The third red box is the map bed tool, which can be selected according to personal preference and can also be customized. I choose open source for free
PicGo, followed by your installation directory.
There is no need to pay special attention to the installation
next stepThat’s fine.
After the installation, you will see the interface (MacOS)
At this time, the upload image failed. The reason can be seen in the prompt message of upload failure, because
SM.MSThe official version of V1 is no longer supported. Picgo’s default map bed is
SM.MS。 So, next, we need to configure the map bed.
By the way, if Xiaobai doesn’t know what a picture bed is, here is an explanation:
Picture bed generally refers to the server storing pictures, which can be divided into domestic and foreign. Because of the space distance and other factors, the access speed of foreign map bed is very slow, which affects the speed of picture display. In China, there are three kinds of space: single line space, multi line space and CDN acceleration.
PicGoYou can also refer to
PicGoOfficial Guide for
to configure SM.MS Picture bed
- Register or log in SM.MS Official website and access
Secret Token, in the case of login,Click hereDirect to the following location:
New registered users click
Generate Secret TokenThen copy it. It is recommended to save a copy in another place instead of generating it repeatedly.
Installing plug-ins for picgo
Before installing the plug-in again, make sure you have installed it Node.js , and the version is greater than or equal to 8 because
Node.js Official website address, recommended to download
LTSAfter the installation, the
cmdCommand to verify whether the installation is successful (the following figure is a screenshot of win system)
You can install it next
PicGoRelated plug-ins. First of all, solve the problem that pictures cannot be uploaded by default. The installation operation is as follows:
Installation will be slow, just wait patiently.
This plug-in is open source. The author also gives two installation methods: online and offline. Online installation does not distinguish the system. Online installation is recommended.See here for details
- to configure SM.MS Picture bed
After the plug-in is installed, it needs to be restarted
PicGoAfter restart, we will see an additional item in the map bed settings:SM.MS -Login user
Here, configure the
Secret Token, click OK. If you are ready to
SM.MSTo use as the default map bed, click on the right
Set as default。
- Test whether the problem is solved
In the upload area, we can see the following figure:
Because I have set the default, if you don’t, you can switch the map bed where I marked the red box.
Then you can test whether the upload is successful or not by selecting upload or drag and drop. No matter whether it is successful or not, there will be an upload result prompt. After the upload is completed, you can see the picture in the album and modify it. The default copy format is
mdFormal. This is very friendly.
3、 Test uploading images in typora
This shows that there is no problem in uploading pictures with our map bed tool. Now we can experience it in the writing software typora.
- The content of this paper is suitable for the first time to write software with map bed reference, this paper only introduces the use of SM.MS This kind of map bed can be referred to for the configuration of other map bedsPicgo GuideIt’s very detailed.
- Picgo also has a lot of personalized settings, such as whether to modify the image name before uploading, timestamp naming, user-defined link format, boot and so on.
- There are also many plug-ins in picgo, such as adding watermarks to pictures. These are explained in the picgo guide mentioned above. If you are interested, you can try it.