badges / badges/shields

Wrap badges into links

Open
#4,726 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

:clipboard: **Description**

It'd be nice to have (copy) badges not only as images, but as images in links!

When it's supported (opened) by service.

### Actual behavior

Markdown for Cirrus CI `AlexWayfer/flame` repository:

```markdown
![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame)
```

The same for Travis CI: https://travis-ci.org/puma/puma

Circle CI: https://circleci.com/gh/rubocop-hq/rubocop/tree/master

Etc.

### Expected behavior

```markdown
[![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame)](https://cirrus-ci.com/github/AlexWayfer/flame)
```

Contributor guide

Open the contributing guide

Research direction

The issue provides no file or test locations. Start by tracing how badge output and service support are defined for Cirrus CI, Travis CI, and CircleCI, then check how a linked badge URL should be represented. Done means supported badges produce the expected linked Markdown without changing the image URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.