Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

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:

<palign="center"><imgsrc="[YOUR_RAW_IMAGE_URL]"alt="[YOUR_ALT]"/></p>
Enter fullscreen modeExit fullscreen mode

It's cool, right?

Hope you enjoy this post.

Happy coding :)

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

"Developer - Security Researcher" != None
  • Location
    Germany
  • Joined

More from1001binary

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp