DEV Community

1001binary
1001binary

Posted on

Insert center image in README.md on Github

Github is popular. As far as I see, most of developers know it quite well. They create projects, contribute code, write instructions in README.md and so on.

In README.md, one day you want to insert center image into it. You don't know somehow to do it using Markdown. Fortunatelly, Markdown on Github supports some HTML tags. Two of them are p and img.

The following is the way to insert center image into README.md:

<p align="center">
   <img src="[YOUR_RAW_IMAGE_URL]" alt="[YOUR_ALT]"/>
</p>
Enter fullscreen mode Exit fullscreen mode

It's cool, right?

Hope you enjoy this post.

Happy coding :)

Top comments (0)