DEV Community


Insert center image in on Github

1001binary profile image 1001binary ・1 min read

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

In, 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

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

It's cool, right?

Hope you enjoy this post.

Happy coding :)

Discussion (0)

Editor guide