mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-12-16 02:20:06 +01:00
Switch to renderable SVG links in README.
This commit is contained in:
12
README.md
12
README.md
@@ -37,7 +37,7 @@ anybadge -l pylint -v 2.22 -f pylint.svg 2=red 4=orange 8=yellow 10=green
|
||||
|
||||
This would result in a badge like this:
|
||||
|
||||

|
||||

|
||||
|
||||
In this example the label is set to "pylint", the value "2.22", and an
|
||||
output file called "pylint.svg". The thresholds are provided in pairs
|
||||
@@ -112,31 +112,31 @@ anybadge --value=2.22 --file=pylint.svg pylint
|
||||
```
|
||||
anybadge --value=2.22 --file=pylint.svg pylint
|
||||
```
|
||||

|
||||

|
||||
|
||||
#### Pylint using arguments
|
||||
```
|
||||
anybadge -l pylint -v 2.22 -f pylint.svg 2=red 4=orange 8=yellow 10=green
|
||||
```
|
||||

|
||||

|
||||
|
||||
#### Coverage using template
|
||||
```
|
||||
anybadge --value=65 --file=coverage.svg coverage
|
||||
```
|
||||

|
||||

|
||||
|
||||
#### Pipeline, using labeled colors
|
||||
```
|
||||
anybadge --label=pipeline --value=passing --file=pipeline.svg passing=green failing=red
|
||||
```
|
||||

|
||||

|
||||
|
||||
#### Badge with fixed color
|
||||
```
|
||||
anybadge --label=awesomeness --value="110%" --file=awesomeness.svg --color=#97CA00
|
||||
```
|
||||

|
||||

|
||||
|
||||
### Options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user