I am hosting a Jekyll Blog on Github and write my posts with Markdown. When I am adding images, I do it the following way:
 solution: make a table around the whole thing. There are obviously scaling issues, and this is why I give my example with the HTML so that you can modify the image size easily. This worked for me.
| | | My Caption |