marktext/docs/IMAGE_UPLOADER_CONFIGRATION.md
2022-01-29 16:25:35 +01:00

26 lines
997 B
Markdown

#### Image Uploader Configration
##### PicGo
PicGo is a CLI tool to upload images to various cloud providers. Please see [here](https://picgo.github.io/PicGo-Doc/en/guide/) of more information.
##### GitHub
> NOTE: This uploader is deprecated and will be replaced by PicGo in version 0.18.
1. Step 1, Create a GitHub [repo](https://github.com/new).
![5ce17b03726c384991](https://i.loli.net/2019/05/19/5ce17b03726c384991.png)
2. Step 2, Create a GitHub token in [Settings/Developer settings.](https://github.com/settings/tokens)
![5ce17bd849d5589341](https://i.loli.net/2019/05/19/5ce17bd849d5589341.png)
3. Config in MarkText Preferences window. click `CmdOrCtrl + ,` to open MarkText Preferences window.
![5ce17cb97b0f111638](https://i.loli.net/2019/05/19/5ce17cb97b0f111638.png)
4. Input you `token`, `owner name` and `repo name` whick you just created. Click `Save` and `Set As default Uploader`.
5. Paste an image into MarkText and open you created repo to see the uploaded image.