Use Tyoira to upload pictures automatically

Use Typora to automatically upload the pictures in the cloud bed and replace the link

Ready to work

Download Typora

Download ** typora-plugins-win-img **

Install Typora

[External link image transfer failed. The origin site may have an anti-leech chain mechanism. It is recommended to save the image and upload it directly (img-Nwaanekr-1582617480654)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153354 -163892.png?token=ALRPMBNC5XQFZZXCXLOTOTS6KTHDG)]

Copy plugins to Typora

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-QgXH4cZB-1582617480655)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225152708 -715201.png?token=ALRPMBN7JEAMP37IVRPSVWK6KTGIW)]

Then open

[External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-UaSAXmK0-1582617480656)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225152729 -666315.png?token=ALRPMBJPRIRKC4ZXVZ7IBOC6KTGJ4)]

Fill in the information of the picture bed you want to set up according to the tips inside

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-f1Crumqe-1582617480656)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153345 -557739.png?token=ALRPMBKVA4HMW53RQGW5LVS6KTHBQ)]

Take Gitee as an example

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-ZIlChqm0-1582617480656)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153444 -939003.png?token=ALRPMBJLROGRNWTU7VSNYHC6KTHFC)]

Create a new private warehouse

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-3fWGeRzn-1582617480656)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153500 -785133.png?token=ALRPMBKUIVLGIVA3ZZFGKZK6KTHGE)]

then

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-VrKtgCsZ-1582617480656)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153610 -760754.png?token=ALRPMBNUAQPZXNGMAMYETZS6KTHKQ)]

Generate a token

[External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-t4BkGGag-1582617480657)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225153840 -310183.png?token=ALRPMBJAYBVN7D5JWCBZHEC6KTHT4)]

Open upload.js, fill in according to the prompt, the token is the private token you just applied for

[External link image transfer failed. The source site may have an anti-hotlinking mechanism. It is recommended to save the image and upload it directly (img-71YmhbDs-1582617480657) (C:\Users\17641\AppData\Roaming\Typora\typora-user-images\ image-20200225153955094.png)]

Just fill in gitee for all github correspondences

Finally open Windows.html with Notepad

[External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-BqGpjYk6-1582617480658)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225154201 -312843.png?token=ALRPMBMM32H7NYOZMJWXPSC6KTIAO)]

ctrl F search can be used

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-WAuxz0NM-1582617480658)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225154816 -258416.png?token=ALRPMBNWGXSXEXUJ3VHKQTK6KTIX2)]

feeling of using

The picture of this blog post is from the picture bed where Typora went to bed on github. There will be two situations in writing, uploading successfully, uploading failed, I don’t know if it is a github problem, the image upload may fail, wait a while and try again Succeeded,

Another point is that after installing this plug-in, there will be a freeze during use (when inserting the picture again, uploading the picture to the server)

Finally, there will be cases where the pictures cannot be loaded during the browsing process:

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-Nd1HkAyy-1582617480659)(https://raw.githubusercontent.com/euphoriaer/img/master/img/20200225155149 -691519.png?token=ALRPMBLNAFTOT3KYL2MCHQS6KTJFG)]

Summary: The experience is not very good. I can only say that it is better than nothing. It may be better to change to another picture bed . Comments are welcome

Typora’s biggest regret is that it doesn’t automatically upload pictures to Tubed (Wail from Windows users). I really hope it can be improved later.

I have tried many methods, considering the editing version, the automatic upload of copied pictures, and the upload of Typora after copying, can not reach the perfect state. After that, I should use the markdown that comes with CSDN to write blog posts. I hope that a client can be used offline. It would be perfect to be compatible with pandoc (this is the biggest reason I still keep Typora, automatically convert notes)

After that, I should use the markdown that comes with CSDN to write blog posts. I hope that a client can be used offline, and it will be compatible with pandoc. (This is the biggest reason I still keep Typora, automatically convert notes)

I am disappointed when I use the github picture bed

Guess you like

Origin blog.csdn.net/euphorias/article/details/104499095