mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-20 01:25:33 +00:00
update default values in readme (#2094)
* update default values in readme * docs: improve formatting * docs: improve readme punctation Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
committed by
GitHub
parent
aa084f31c4
commit
9e1fc0b7da
@@ -203,12 +203,12 @@ You can provide multiple comma-separated values in the bg_color option to render
|
||||
|
||||
#### Repo Card Exclusive Options:
|
||||
|
||||
- `show_owner` - Show the repo's owner name _(boolean)_
|
||||
- `show_owner` - Show the repo's owner name _(boolean)_. Defaults to `false`.
|
||||
|
||||
#### Language Card Exclusive Options:
|
||||
|
||||
- `hide` - Hide the languages specified from the card _(Comma-separated values)_
|
||||
- `hide_title` - _(boolean)_
|
||||
- `hide_title` - _(boolean)_. Defaults to `false`.
|
||||
- `layout` - Switch between two available layouts `default` & `compact`
|
||||
- `card_width` - Set the card's width manually _(number)_
|
||||
- `langs_count` - Show more languages on the card, between 1-10, defaults to 5 _(number)_
|
||||
@@ -223,8 +223,8 @@ You can provide multiple comma-separated values in the bg_color option to render
|
||||
#### Wakatime Card Exclusive Options:
|
||||
|
||||
- `hide` - Hide the languages specified from the card _(Comma-separated values)_
|
||||
- `hide_title` - _(boolean)_
|
||||
- `line_height` - Sets the line-height between text _(number)_
|
||||
- `hide_title` - _(boolean)_. Defaults to `false`.
|
||||
- `line_height` - Sets the line-height between text _(number)_. Default Value: `25`.
|
||||
- `hide_progress` - Hides the progress bar and percentage _(boolean)_
|
||||
- `custom_title` - Sets a custom title for the card
|
||||
- `layout` - Switch between two available layouts `default` & `compact`
|
||||
|
||||
@@ -88,7 +88,7 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
icon_color,
|
||||
text_color,
|
||||
bg_color,
|
||||
show_owner,
|
||||
show_owner = false,
|
||||
theme = "default_repocard",
|
||||
border_radius,
|
||||
border_color,
|
||||
|
||||
@@ -235,7 +235,7 @@ const useLanguages = (topLangs, hide, langs_count) => {
|
||||
*/
|
||||
const renderTopLanguages = (topLangs, options = {}) => {
|
||||
const {
|
||||
hide_title,
|
||||
hide_title = false,
|
||||
hide_border,
|
||||
card_width,
|
||||
title_color,
|
||||
|
||||
Reference in New Issue
Block a user