我正在尝试向sonarcloud
添加README
徽章。
但是当我喜欢这个时
![https://sonarcloud.io/dashboard?id=com.lapots.breed.judge%3Ajudge-rule-engine](https://sonarcloud.io/api/project_badges/measure?project=com.lapots.breed.judge%3Ajudge-rule-engine&metric=alert_status)
徽章本身看起来不错,但不允许转到sonarcloud
项目,而是转到camo.githubusercontent.com
。我应该使用什么链接来访问sonarcloud
项目?
答案 0 :(得分:6)
您可以使用此链接直接访问SonarCloud项目:
https://sonarcloud.io/dashboard?id=Project_Key_Here
或者,您可以通过以下步骤访问SonarCloud徽章:
答案 1 :(得分:4)
带链接的图片的降价语法为
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=com.lapots.breed.judge:judge-rule-engine&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.lapots.breed.judge:judge-rule-engine)
所以,试试:
n = str(input())
n = n.split()
numbers = [int(i) for i in n]
print(numbers)