Skip to content

LeetCode Stats Card

在你的 GitHub 个人资料或网站上展示动态生成的 LeetCode 数据统计!

ref-reporef-online-toolref-official-doc

参数

点击显示/关闭参数

名称类型必填默认值参数描述更多描述
ref-params
usernamestringtrueLeetCode 用户名
ref-querys
sitestringusLeetCode 站点可选值:us cn
themestringdark主题可选值:dark light nord forest wtf unicorn transparent
fontstringbaloo_2字体支持几乎所有的 Google Fonts 字体。
widthnumber500宽度
heightnumber200高度
bordernumber1边框宽度
radiusnumber4圆角
animationbooleantrue启用或禁用动画。
hidestring隐藏卡片上的元素可选值:ranking total-solved-text easy-solved-count medium-solved-count hard-solved-count 多个值用 , 分隔。
extstring扩展数据可选值:activity contest heatmap 多个值用 , 分隔。
cachenumber60缓存时间单位:秒。
sheetsstring外部样式表多个值用 , 例如:sheets=url1,url2,分隔 可以将自定义 CSS 上传到 gist 并使用该链接。
txt
https://leetcard.jacoblin.cool/{username}{?site,theme,font,width,height,border,radius,animation,hide,ext,cache,sheets}

示例

markdown
<!-- JacobLinCool -->
![Leetcode 统计](https://leetcard.jacoblin.cool/JacobLinCool?theme=wtf&ext=heatmap&font=Play)
Leetcode 统计

Readme Widget Hub (v4.1.4) MIT Licensed