how to add image in github readme code example

Example 1: README.md image

If you want to embed images, this is how you do it:

![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png)

Example 2: github readme.md add image

![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)

Example 3: how to add image in github readme

![alt text](http://url/to/img.png)

Example 4: add image to readme

![alt text](https://github.com/[username]/[reponame]/blob/[branch]/image.jpg?raw=true)

Example 5: github adding images to readme

![alt text](http://url/to/img.png)

Example 6: 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)