Typora + PicGo achieve your pictures automatically upload tutorial

Sitting in front of the screen you have encountered is not such a dilemma? Own use markdown to write an article, but the article inside drawing more pictures, you need to own a chart to upload a bed, then copy the link graph of the bed back to the markdown files.

Before Mac has been the envy of bed artifact map iPic, you can automatically upload images to map the bed, save the link Markdown format pasted directly inserted very easily, reducing the complexity of the work.

Until last night, suddenly found on the Windows platform, it can also Typora+ PicGoto achieve the same effect. Ado, dry would be finished.

tool

Typora: Markdown tool. Write Markdown files artifact, simple, convenient and free.

PicGo Open source photo management tool, you can upload images to a variety of drawing their own bed.

SM.MS: Free map bed. I chose this figure mainly due to free beds, functional enough.

Build step

In fact, the process of building very simple, just share the recording pit their own problems.

1, Typora

Note that, Typora supports image upload feature is the recently updated, so take your version of the latest version (version 0.9.86).

2、PicGo

About PicGosupport to function Typora also recently added, also need to keep to the latest version (2.2.2).

3、SM.MS

Registered SM.MSaccount.

4, set

Open Typora tool, open 菜单栏- 文件-偏好设置

The picture settings according to,

At choice 2 上传图片, 对本地和网络图片应用上述规则.

Select the upload service (I use it at 3 PicGo程序, did not try other), select the software installation path.

If at this time direct point 4, it will prompt failure, we also need to PicGo程序be set.

打开PicGo工具(因为我们选择的SM.MS图床,所以相关设置都是关于该图床)

点击插件设置,在2处搜索smms-user,重启软件。

image-20200313120638476
image-20200313120638476

点击1,配置SM.MS网站授权。

该授权通过下面SM.MS官网获取。

image-20200313121320510
image-20200313121320510

3、打开SM.MS官网

3.1点击User下面的Dashboard(前提是需要注册、登录);

接着选择API Token,点击2;

复制3处生成的Token字符串。

3.2 将该字符串复制到smms-user插件的配置配置plugin-smms-user配置uploder-smms-user中。

3.3 将PIcGo软件的上传区,选择SM.MS登录用户。

测试

回到Typora就可以测试使用了。

当你直接在Typora中上传本地图片,此时会直接上传到图床,在文件中使用图床路径替换本地路径。

如果你在软件使用的过程中,遇到什么问题,欢迎在公众号留言,我将尽我我最大努力答复大家。

题外话

推荐另外一款截图软件,snippast简单、功能强大。本文的所有截图和编辑都是通过这个软件完成的。

Guess you like

Origin juejin.im/post/5e6b2341518825493e535e5f