This approach relies on images being public in secret gists so long as you have the url to them.
-
Create a secret gist called something like "Images for Gists".
-
Clone the gist:
- SSH:
git clone git@gist.github.com:<hash>.git
- HTTPS:
git clone https://gist.github.com/<hash>.git
- CREDIT: https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be
- SSH:
-
Add images and push them. Note that gists repos do not support directories.
-
Create another Gist and embed images as usual using the links of the images from your secret gist. I like to use the img html tag because you can affect the width.
<br><img alt="JIRA Epics Workflow with Labels" src="https://gist.github.com/../img.png" width="50%" style="clear: left; display: inline; float: left;">
Here's an example:
And here's another Gist that uses the approach.