How to resize image in the wiki of GitHub using Markdown?

Spread the love

Sometimes, we want to resize image in the wiki of GitHub using Markdown.

In this article, we’ll look at how to resize image in the wiki of GitHub using Markdown.

How to resize image in the wiki of GitHub using Markdown?

To resize image in the wiki of GitHub using Markdown, we add an HTML img element.

For instance, we write

<img src="https://github.com/favicon.ico" width="48" />

to set the width of the img element to 40 pixels.

Then the image will be rendered on GitHub with width 40 pixels.

Conclusion

To resize image in the wiki of GitHub using Markdown, we add an HTML img element.

Leave a Reply

Your email address will not be published. Required fields are marked *