adding a image in readme code example
Example 1: add image to readme
![alt text](http://url/to/img.png)
Example 2: github readme.md add image
![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)
Example 3: how to add image in readme
Try this markdown:
![alt text](http://url/to/img.png)
I think you can link directly to the raw version of an image if it's stored in your repository. i.e.
![alt text](https://github.com/[username]/[reponame]/blob/[branch]/image.jpg?raw=true)