rahuldkjain/github-profile-readme-generator

Delete underscore near logos

Open

#807 opened on Feb 24, 2024

View on GitHub
 (4 comments) (1 reaction) (1 assignee)JavaScript (5,899 forks)batch import
enhancementhacktoberfestv1-deprecated

Repository metrics

Stars
 (19,657 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

The logos in the README.md have underscores near them, which aesthetically would look better without them.

Possible Implementation

I managed to achieve the same result by using Markdown syntax instead of HTML for embedding the images with links. Here's how I did it:

Before:
<a href="https://www.example.com" target="_blank" rel="noreferrer"> <img src="logo_url" alt="logo_with_underscore" width="40" height="40"/> </a>

After:
[<img src="logo_url" alt="logo without underscore" width="40" height="40"/>](https://www.example.com)

By using Markdown syntax, I was able to remove the underscores from the alt text of the images, maintaining the href functionality and the desired dimension of the icon

Contributor guide