mecdeality
mecdeality

Reputation: 455

Add github accounts to readme file

How can I add links to GitHub accounts in my readme file.
This is what I want to see:

enter image description here

Upvotes: 3

Views: 2741

Answers (2)

Bertrand Martel
Bertrand Martel

Reputation: 45493

A quick way to do this is to use contributors-img and use the following in your markdown:

<a href="https://github.com/OWNER/REPO/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=OWNER/REPO" />
</a>

gist example

Upvotes: 4

SHIKHAR GUPTA
SHIKHAR GUPTA

Reputation: 69

You can try this code:-

Here is my CSS:

.photos {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
}

Here is my HTML:

<div class="photos">
<a href="Github Profile url"> 
  <img href="Github profile image source"> 
</a> 
<div class="photos">
<a href="Github Profile url"> 
  <img href="Github profile image soure"> 
</a> 
<div class="photos">
<a href="Github Profile url"> 
  <img href="Github profile image source"> 
</a> 
<div class="photos">
<a href="Github Profile url"> 
  <img href="Github profile image source"> 
</a> 
</div>

For Displaying the word "Authors" you can use

##Authors

Upvotes: 1

Related Questions