how to add images to readme code example

Example 1: add image to readme

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

Example 2: adding a preview image in readme.md

// method 1
<img
src=“images/SubPronouns.jpg”
raw=true
alt=“Subject Pronouns”
style=“margin-right: 10px;”
/>

// method 2
![Test Image 3](/3DTest.png)
![Test Image 4](https://github.com/tograh/testrepository/3DTest.png 112)

// last method
<img width=“964” alt=“java 8 and prio java 8  array review example” src=“https://github.com/jaimehernan95/arrayReview-java/blob/master/images/%20arrayExample.png 23”>

Example 3: github readme.md add image

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

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)

Tags:

Misc Example