@@ -6,18 +6,21 @@ this badge in a Github readme, on your site, in a presentation,...wherever.
6
6
Large:
7
7
8
8
[ ![ Lighthouse score: 100/100] ( https://lighthouse-badge.appspot.com/?score=100 )] ( https://github.com/ebidel/lighthouse-badge )
9
- [ ![ Lighthouse score: 85/100] ( https://lighthouse-badge.appspot.com/?score=85&category=Perf )] ( https://github.com/ebidel/lighthouse-badge )
10
9
[ ![ Lighthouse score: 65/100] ( https://lighthouse-badge.appspot.com/?score=65 )] ( https://github.com/ebidel/lighthouse-badge )
11
10
[ ![ Lighthouse score: 35/100] ( https://lighthouse-badge.appspot.com/?score=35 )] ( https://github.com/ebidel/lighthouse-badge )
12
11
13
12
14
13
Compact:
15
14
16
15
[ ![ Lighthouse score: 100/100] ( https://lighthouse-badge.appspot.com/?score=100&compact )] ( https://github.com/ebidel/lighthouse-badge )
17
- [ ![ Lighthouse score: 85/100] ( https://lighthouse-badge.appspot.com/?score=85&category=Perf&compact )] ( https://github.com/ebidel/lighthouse-badge )
18
16
[ ![ Lighthouse score: 65/100] ( https://lighthouse-badge.appspot.com/?score=65&compact )] ( https://github.com/ebidel/lighthouse-badge )
19
17
[ ![ Lighthouse score: 35/100] ( https://lighthouse-badge.appspot.com/?score=35&compact )] ( https://github.com/ebidel/lighthouse-badge )
20
18
19
+ Include category:
20
+
21
+ [ ![ Lighthouse score: 85/100] ( https://lighthouse-badge.appspot.com/?score=85&category=Perf&cachebust )] ( https://github.com/ebidel/lighthouse-badge )
22
+ [ ![ Lighthouse score: 85/100] ( https://lighthouse-badge.appspot.com/?score=85&category=Perf&compact&cachebust )] ( https://github.com/ebidel/lighthouse-badge )
23
+
21
24
### Examples
22
25
23
26
API: ` https://lighthouse-badge.appspot.com/?score=<SCORE>[&compact] `
@@ -26,28 +29,37 @@ Parameters:
26
29
27
30
- ` score ` : required. set from [ 0,100] .
28
31
- ` compact ` : optional. Renders smaller image instead.
29
- - ` category ` : optional. Specify an report section label (e.g. "PWA", "Perf", "A11y").
32
+ - ` category ` : optional. Specify a report section label (e.g. "PWA", "Perf", "A11y", "Best Practices")
30
33
31
34
Markdown
32
35
33
36
```
34
37
[](https://github.com/ebidel/lighthouse-badge)
38
+ ```
35
39
36
- [](https://github.com/ebidel/lighthouse-badge)```
40
+ ```
41
+ [](https://github.com/ebidel/lighthouse-badge)
42
+ ```
37
43
44
+ ```
38
45
[](https://github.com/ebidel/lighthouse-badge)
46
+ ```
39
47
40
48
HTML
41
49
42
50
```
43
51
<a href="https://github.com/ebidel/lighthouse-badge" target="_blank">
44
52
<img src="https://lighthouse-badge.appspot.com?score=100">
45
53
</a>
54
+ ```
46
55
56
+ ```
47
57
<a href="https://github.com/ebidel/lighthouse-badge" target="_blank">
48
58
<img src="https://lighthouse-badge.appspot.com?score=85&category=PWA">
49
59
</a>
60
+ ```
50
61
62
+ ```
51
63
<a href="https://github.com/ebidel/lighthouse-badge" target="_blank">
52
64
<img src="https://lighthouse-badge.appspot.com?score=165&compact">
53
65
</a>
0 commit comments