Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e1fc0b

Browse files
Ayushi96rickstaa
andauthored
update default values in readme (anuraghazra#2094)
* update default values in readme* docs: improve formatting* docs: improve readme punctationCo-authored-by: rickstaa <rick.staa@outlook.com>
1 parentaa084f3 commit9e1fc0b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ You can provide multiple comma-separated values in the bg_color option to render
203203
204204
####Repo Card Exclusive Options:
205205

206-
-`show_owner` - Show the repo's owner name_(boolean)_
206+
-`show_owner` - Show the repo's owner name_(boolean)_. Defaults to`false`.
207207

208208
####Language Card Exclusive Options:
209209

210210
-`hide` - Hide the languages specified from the card_(Comma-separated values)_
211-
-`hide_title` -_(boolean)_
211+
-`hide_title` -_(boolean)_. Defaults to`false`.
212212
-`layout` - Switch between two available layouts`default` &`compact`
213213
-`card_width` - Set the card's width manually_(number)_
214214
-`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
223223
####Wakatime Card Exclusive Options:
224224

225225
-`hide` - Hide the languages specified from the card_(Comma-separated values)_
226-
-`hide_title` -_(boolean)_
227-
-`line_height` - Sets the line-height between text_(number)_
226+
-`hide_title` -_(boolean)_. Defaults to`false`.
227+
-`line_height` - Sets the line-height between text_(number)_. Default Value:`25`.
228228
-`hide_progress` - Hides the progress bar and percentage_(boolean)_
229229
-`custom_title` - Sets a custom title for the card
230230
-`layout` - Switch between two available layouts`default` &`compact`

‎src/cards/repo-card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const renderRepoCard = (repo, options = {}) => {
8888
icon_color,
8989
text_color,
9090
bg_color,
91-
show_owner,
91+
show_owner=false,
9292
theme="default_repocard",
9393
border_radius,
9494
border_color,

‎src/cards/top-languages-card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ const useLanguages = (topLangs, hide, langs_count) => {
235235
*/
236236
constrenderTopLanguages=(topLangs,options={})=>{
237237
const{
238-
hide_title,
238+
hide_title=false,
239239
hide_border,
240240
card_width,
241241
title_color,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp