From 2905d4a022a82c2eb8f8cf23cc46aba4afdd9b32 Mon Sep 17 00:00:00 2001 From: Jon Grace-Cox Date: Sat, 10 Feb 2018 11:43:08 -0500 Subject: [PATCH] Switch to renderable SVG links in README. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b6ed4c8..aa82d38 100644 --- a/README.md +++ b/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: -![pylint](https://github.com/jongracecox/anybadge/blob/master/examples/pylint.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/pylint.svg) 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](https://github.com/jongracecox/anybadge/blob/master/examples/pylint.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/pylint.svg) #### Pylint using arguments ``` anybadge -l pylint -v 2.22 -f pylint.svg 2=red 4=orange 8=yellow 10=green ``` -![pylint](https://github.com/jongracecox/anybadge/blob/master/examples/pylint.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/pylint.svg) #### Coverage using template ``` anybadge --value=65 --file=coverage.svg coverage ``` -![pylint](https://github.com/jongracecox/anybadge/blob/master/examples/coverage.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/coverage.svg) #### Pipeline, using labeled colors ``` anybadge --label=pipeline --value=passing --file=pipeline.svg passing=green failing=red ``` -![pylint](https://github.com/jongracecox/anybadge/blob/master/examples/pipeline.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/pipeline.svg) #### Badge with fixed color ``` anybadge --label=awesomeness --value="110%" --file=awesomeness.svg --color=#97CA00 ``` -![pylint](https://github.com/jongracecox/anybadge/blob/master/examples/awesomeness.svg) +![pylint](https://cdn.rawgit.com/jongracecox/anybadge/master/examples/awesomeness.svg) ### Options