LeetCode Stats Card
在你的 GitHub 个人资料或网站上展示动态生成的 LeetCode 数据统计!
参数
点击显示/关闭参数
名称 | 类型 | 必填 | 默认值 | 参数描述 | 更多描述 |
---|---|---|---|---|---|
username | string | true | LeetCode 用户名 | ||
site | string | us | LeetCode 站点 | 可选值:us cn 。 | |
theme | string | dark | 主题 | 可选值:dark light nord forest wtf unicorn transparent 。 | |
font | string | baloo_2 | 字体 | 支持几乎所有的 Google Fonts 字体。 | |
width | number | 500 | 宽度 | ||
height | number | 200 | 高度 | ||
border | number | 1 | 边框宽度 | ||
radius | number | 4 | 圆角 | ||
animation | boolean | true | 启用或禁用动画。 | ||
hide | string | 隐藏卡片上的元素 | 可选值:ranking total-solved-text easy-solved-count medium-solved-count hard-solved-count 多个值用 , 分隔。 | ||
ext | string | 扩展数据 | 可选值:activity contest heatmap 多个值用 , 分隔。 | ||
cache | number | 60 | 缓存时间 | 单位:秒。 | |
sheets | string | 外部样式表 | 多个值用 , 例如: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 -->
