GitHub/Markdown – How to Change the Size of an Image

githubhtmlmarkdown

I'm editing a Readme.md file in a Github repository and have inserted a picture (see https://github.com/khpeek/FMCW-radar). The picture takes up the full width but is rather grainy that way, and I would prefer to make it smaller. Is there any way to do that?

P.S. I've tried the commands on
How to change image size Markdown?, but they don't seem to work.

Best Answer

You can change the size of an image in GitHub markdown by using the image link in an HTML img tag:

From this:

![image](https://user-images.githubusercontent.com/link-to-your-image.png)

To this:

<img src="https://user-images.githubusercontent.com/link-to-your-image.png" width="200" />