@@ -57,12 +57,12 @@ _Note: Ranks are calculated based on user's stats, see [src/calculateRank.js](./
57
57
58
58
### Hiding individual stats
59
59
60
- To hide any specific stats, you can pass a query parameter ` ?hide= ` with an array of items you wanna hide .
60
+ To hide any specific stats, you can pass a query parameter ` ?hide= ` with comma seperated values .
61
61
62
- > Options: ` &hide=[" stars"," commits"," prs"," issues"," contribs"] `
62
+ > Options: ` &hide=stars, commits, prs, issues, contribs `
63
63
64
64
``` md
65
- 
65
+ 
66
66
```
67
67
68
68
### Showing icons
@@ -97,21 +97,21 @@ You can customize the appearance of your `Stats Card` or `Repo Card` however you
97
97
98
98
Customization Options:
99
99
100
- | Option | type | description | Stats Card (default) | Repo Card (default) | Top Lang Card (default) |
101
- | ------------- | ---------- | -- ------------------------------------ | -------------------- | ------------------- | ----------------------- |
102
- | title_color | hex color | title color | 2f80ed | 2f80ed | 2f80ed |
103
- | text_color | hex color | body color | 333 | 333 | 333 |
104
- | icon_color | hex color | icon color | 4c71f2 | 586069 | 586069 |
105
- | bg_color | hex color | card bg color | FFFEFE | FFFEFE | FFFEFE |
106
- | line_height | number | control the line-height between text | 30 | N/A | N/A |
107
- | hide | JSON array | hides the items specified on the array | [ ] | N/A | [ ] |
108
- | hide_rank | boolean | hides the ranking | false | N/A | N/A |
109
- | hide_title | boolean | hides the stats title | false | N/A | false |
110
- | hide_border | boolean | hides the stats card border | false | N/A | N/A |
111
- | show_owner | boolean | shows owner name in repo card | N/A | false | N/A |
112
- | show_icons | boolean | shows icons | false | N/A | N/A |
113
- | theme | string | sets inbuilt theme | 'default' | 'default_repocard' | 'default |
114
- | cache_seconds | number | manually set custom cache control | 1800 | 1800 | '1800' |
100
+ | Option | type | description | Stats Card (default) | Repo Card (default) | Top Lang Card (default) |
101
+ | ------------- | --------- | ------------------------------------ | -------------------- | ------------------- | ----------------------- |
102
+ | title_color | hex color | title color | 2f80ed | 2f80ed | 2f80ed |
103
+ | text_color | hex color | body color | 333 | 333 | 333 |
104
+ | icon_color | hex color | icon color | 4c71f2 | 586069 | 586069 |
105
+ | bg_color | hex color | card bg color | FFFEFE | FFFEFE | FFFEFE |
106
+ | line_height | number | control the line-height between text | 30 | N/A | N/A |
107
+ | hide | CSV | hides the items specified | undefined | N/A | undefined |
108
+ | hide_rank | boolean | hides the ranking | false | N/A | N/A |
109
+ | hide_title | boolean | hides the stats title | false | N/A | false |
110
+ | hide_border | boolean | hides the stats card border | false | N/A | N/A |
111
+ | show_owner | boolean | shows owner name in repo card | N/A | false | N/A |
112
+ | show_icons | boolean | shows icons | false | N/A | N/A |
113
+ | theme | string | sets inbuilt theme | 'default' | 'default_repocard' | 'default |
114
+ | cache_seconds | number | manually set custom cache control | 1800 | 1800 | '1800' |
115
115
116
116
> Note on cache: Repo cards have default cache of 30mins (1800 seconds) if the fork count & star count is less than 1k otherwise it's 2hours (7200). Also note that cache is clamped to minimum of 30min and maximum of 24hours
117
117
@@ -157,10 +157,10 @@ Endpoint: `api/top-langs?username=anuraghazra`
157
157
158
158
### Hide individual languages
159
159
160
- You can use ` ?hide=[" language1"," language2"] ` parameter to hide languages below a specified threshold percentage .
160
+ You can use ` ?hide=language1, language2 ` parameter to hide individual languages .
161
161
162
162
``` md
163
- [](https://github.com/anuraghazra/github-readme-stats)
163
+ [](https://github.com/anuraghazra/github-readme-stats)
164
164
```
165
165
166
166
### Demo
@@ -177,11 +177,11 @@ You can use `?hide=["language1","language2"]` parameter to hide languages below
177
177
178
178
- Hiding specific stats
179
179
180
- ![ Anurag's github stats] ( https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=[" contribs"," issues" ] )
180
+ ![ Anurag's github stats] ( https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=contribs, issues] )
181
181
182
182
- Showing icons
183
183
184
- ![ Anurag's github stats] ( https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=[" issues"] &show_icons=true )
184
+ ![ Anurag's github stats] ( https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=issues&show_icons=true )
185
185
186
186
- Themes
187
187
0 commit comments