Typora provide a way to add local image to your markdown. I have written a simple script to upload the image to imgur.
- python imgur.py filepath1 filepath2
- Create a virtual environment
- pip install -r requirements.txt
- create a imgur app here
- After you do that you will get client id and secret. So set environment variable as
export imgur_id="{id}"
export imgur_secret="{secret}"
- Put it in bashrc for more permanent use. Source it.