This Python script uploades local images to Imgur and replaces their path with the remote URL in the Markdown.
- Clone the repository.
- Run
pip install -r requirements-dev.txt. - Copy
.env.exampleto.envand add yourCLIENT_IDfrom the Imgur API. - Create an
original.mdfile and add your markdown to it. - Add your local images to
screenshotsdirectory and also update the path of your local images inoriginal.mdfile so that the Python script can find them in thescreenshotsdirectory. - Run
python src/main.pyand a newupdated.mdwill be created for you.