You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: added number of languages param for top langs card (#445)
* feat: num_langs param for top langs
* fix: top-langs card bottom padding with num_langs param
* fix: clamp toplangs num_langs rather than throwing error
* feat: changed param name & fixed minor issues, added tests
Co-authored-by: anuraghazra <[email protected]>
Copy file name to clipboardExpand all lines: readme.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,7 @@ You can provide multiple comma separated values in bg_color option to render a g
165
165
-`hide_title` - _(boolean)_
166
166
-`layout` - Switch between two available layouts `default` & `compact`
167
167
-`card_width` - Set the card's width manually _(number)_
168
+
-`langs_count` - Show more languages on the card, between 1-10, defaults to 5 _(number)_
168
169
169
170
> :warning:**Important:**
170
171
> Language names should be uri-escaped, as specified in [Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding)
@@ -200,7 +201,7 @@ Use [show_owner](#customization) variable to include the repo's owner username
200
201
201
202
Top languages card shows github user's top languages which have been mostly used.
202
203
203
-
_NOTE: Top languages does not indicate my skill level or something like that, it's a github metric of which languages i have the most code on github, it's a new feature of github-readme-stats_
204
+
_NOTE: Top languages does not indicate my skill level or something like that, it's a github metric of which languages have the most code on github, it's a new feature of github-readme-stats_
204
205
205
206
### Usage
206
207
@@ -220,6 +221,14 @@ You can use `?hide=language1,language2` parameter to hide individual languages.
You can use the `&langs_count=` option to increase or decrease the number of languages shown on the card. Valid values are integers between 1 and 10 (inclusive), and the default is 5.
0 commit comments