Skip to content

Codewars Readme Stats

在你的 github 个人资料中展示你的 codewars 统计信息!

ref-reporef-official-doc

参数

点击显示/关闭参数

名称类型必填默认值参数描述更多描述
ref-querys
userstringtrueCodewars 用户名。
nameboolean是否显示昵称而不是用户名。
top_languagesboolean扩展卡片,添加 3 个顶级训练语言的图标。
strokestring使用传入的颜色在卡片周围设置边框。支持类型:web 颜色名称,十六进制颜色值,rgb 值。
themestring设置卡片的主题。支持类型: dark light
hide_clanboolean从卡片中移除公会名称。
cache-controlnumber设置缓存控制头部的值。
animationboolean是否禁用动画。
txt
https://github.r2v.ch/codewars{?user,name,top_languages,stroke,theme,hide_clan,cache_control,animation}

示例

基础卡片

markdown
<!-- dinifarb -->
![Codewars Readme Stats](https://github.r2v.ch/codewars?user=dinifarb)
Codewars Readme Stats

明亮主题,边框和缓存控制

markdown
<!-- dinifarb -->
![Codewars Readme Stats](https://github.r2v.ch/codewars?user=dinifarb&top_languages=false&stroke=%23BB432C&theme=light&cache_control=86400)
Codewars Readme Stats

卡片显示顶级语言,边框和主题

markdown
<!-- dinifarb -->
![Codewars Readme Stats](https://github.r2v.ch/codewars?user=dinifarb&name=true&top_languages=true&stroke=%23b362ff&theme=purple_dark)
Codewars Readme Stats

Readme Widget Hub (v4.3.0) MIT Licensed