how to add local image to github readme code example

Example 1: 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 2: 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)

Tags:

Html Example