Search code examples
htmlmarkdownpng

How to change Readme png size


I use the following to use picture inside the readme, It works however the picture size is small, can I control it somehow ?

![alt text](img/trk.png)

I try as suggested here

But it doesnt work, I dont see the picture. Should I change the image type from png? something else ?


Solution

  • Not all flavors of Markdown support setting height and width of images. To be safe, Markdown supports HTML too, so instead you can use:

    <img src="img/trk.png" alt="alt text" width="200" />