Skip to content

Commit 8a4c6f0

Browse files
committed
docs: fix preview links
1 parent 1d825f1 commit 8a4c6f0

File tree

1 file changed

+33
-35
lines changed

1 file changed

+33
-35
lines changed

README.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
[![CodeFactor](https://www.codefactor.io/repository/github/jacoblincool/leetcode-stats-card/badge)](https://www.codefactor.io/repository/github/jacoblincool/leetcode-stats-card)
44

5-
A simple tool for every LeetCoder. Support both LeetCode and LeetCode CN.
6-
75
Show your dynamically generated LeetCode stats on your GitHub profile or your website!
86

7+
LeetCode and LeetCode CN are both supported.
8+
99
[Playground: Try It Now](https://leetcard.jacoblin.cool/)
1010

1111
[![LeetCode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=unicorn&extension=activity)](https://leetcard.jacoblin.cool/JacobLinCool?theme=unicorn&extension=activity)
1212

1313
## Features
1414

1515
- 📈 Clean and simple LeetCode stats, for both `us` and `cn` sites
16-
- 🎨 Multiple themes and 1,300+ fonts - [Theme](#theme-default-lightdark), [Font](#font-default-baloo2)
17-
- 🪄 Fully customizable using CSS - [Custom Stylesheets](#sheets-default-"")
16+
- 🎨 Multiple themes and 1,300+ fonts - [Theme](#theme-default-lightdark), [Font](#font-default-baloo_2)
17+
- 🪄 Fully customizable using CSS - [Custom Stylesheets](#sheets-default-)
1818
- ⚡️ Fast and globally edge network - [Cloudflare Workers](https://workers.cloudflare.com/)
1919
- 🚫 No tracking, controlable cache - [Cache](#cache-default-60)
20-
- 🍀 Open source
20+
- 🍀 Open source - [MIT License](./LICENSE)
2121

2222
It also has a [NPM package](https://www.npmjs.com/package/leetcode-card) and a [highly extensible system](./src/core/index.ts), so you can easily customize it to your needs.
2323

@@ -60,7 +60,7 @@ Data source, can be `us` or `cn`.
6060
![](https://leetcard.jacoblin.cool/leetcode?site=cn)
6161
```
6262

63-
![](https://leetcard.jacoblin.cool/leetcode?site=cn)
63+
[![](https://leetcard.jacoblin.cool/leetcode?site=cn)](https://leetcard.jacoblin.cool/leetcode?site=cn)
6464

6565
#### `theme` (default: `light,dark`)
6666

@@ -73,7 +73,7 @@ Use a comma to separate the light and dark theme.
7373
![](https://leetcard.jacoblin.cool/jacoblincool?theme=light,unicorn)
7474
```
7575

76-
![](https://leetcard.jacoblin.cool/jacoblincool?theme=unicorn)
76+
[![](https://leetcard.jacoblin.cool/jacoblincool?theme=unicorn)](https://leetcode.com/jacoblincool)
7777

7878
#### `font` (default: `Baloo_2`)
7979

@@ -85,7 +85,7 @@ It is case-insensitive, and you can use `font=dancing_script` or `font=Dancing%2
8585
![](https://leetcard.jacoblin.cool/jacoblincool?font=Dancing_Script)
8686
```
8787

88-
![](https://leetcard.jacoblin.cool/jacoblincool?font=Dancing_Script)
88+
[![](https://leetcard.jacoblin.cool/jacoblincool?font=Dancing_Script)](https://leetcard.jacoblin.cool/jacoblincool?font=Dancing_Script)
8989

9090
#### `width` and `height` (default: `500` and `200`)
9191

@@ -97,7 +97,7 @@ But it will be helpful if you want to use custom css.
9797
![](https://leetcard.jacoblin.cool/jacoblincool?width=500&height=500)
9898
```
9999

100-
![](https://leetcard.jacoblin.cool/jacoblincool?width=500&height=500)
100+
[![](https://leetcard.jacoblin.cool/jacoblincool?width=500&height=500)](https://leetcard.jacoblin.cool/jacoblincool?width=500&height=500)
101101

102102
#### `border` and `radius` (default: `1` and `4`)
103103

@@ -107,7 +107,7 @@ Change the card border and radius.
107107
![](https://leetcard.jacoblin.cool/jacoblincool?border=0&radius=20)
108108
```
109109

110-
![](https://leetcard.jacoblin.cool/jacoblincool?border=0&radius=20)
110+
[![](https://leetcard.jacoblin.cool/jacoblincool?border=0&radius=20)](https://leetcard.jacoblin.cool/jacoblincool?border=0&radius=20)
111111

112112
#### `animation` (default: `true`)
113113

@@ -117,7 +117,7 @@ Enable or disable the animation.
117117
![](https://leetcard.jacoblin.cool/jacoblincool?animation=false)
118118
```
119119

120-
![](https://leetcard.jacoblin.cool/jacoblincool?animation=false)
120+
[![](https://leetcard.jacoblin.cool/jacoblincool?animation=false)](https://leetcard.jacoblin.cool/jacoblincool?animation=false)
121121

122122
#### `hide` (default: `""`)
123123

@@ -127,7 +127,7 @@ Hide elements on the card, it is a comma-separated list of element ids.
127127
![](https://leetcard.jacoblin.cool/jacoblincool?hide=ranking,total-solved-text,easy-solved-count,medium-solved-count,hard-solved-count)
128128
```
129129

130-
![](https://leetcard.jacoblin.cool/jacoblincool?hide=ranking,total-solved-text,easy-solved-count,medium-solved-count,hard-solved-count)
130+
[![](https://leetcard.jacoblin.cool/jacoblincool?hide=ranking,total-solved-text,easy-solved-count,medium-solved-count,hard-solved-count)](https://leetcard.jacoblin.cool/jacoblincool?hide=ranking,total-solved-text,easy-solved-count,medium-solved-count,hard-solved-count)
131131

132132
#### `ext` (default: `""`)
133133

@@ -143,7 +143,7 @@ Want to contribute a `contest` or `nyan-cat` extension? PR is welcome!
143143
![](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)
144144
```
145145

146-
![](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)
146+
[![](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)
147147

148148
#### `cache` (default: `60`)
149149

@@ -155,8 +155,6 @@ Note: it will not be a good idea to set it to a long time because GitHub will fe
155155
![](https://leetcard.jacoblin.cool/jacoblincool?cache=0)
156156
```
157157

158-
![](https://leetcard.jacoblin.cool/jacoblincool?cache=0)
159-
160158
> You can make `DELETE` request to `/:site/:username` to delete the cache.
161159
162160
#### `sheets` (default: `""`)
@@ -188,50 +186,50 @@ Now we have 6 themes. If you have any great idea, please feel free to open a PR!
188186
#### Light
189187

190188
```md
191-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=light)
189+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=light)
192190
```
193191

194-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=light)
192+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=light)](https://leetcard.jacoblin.cool/JacobLinCool?theme=light)
195193

196194
#### Dark
197195

198196
```md
199-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=dark)
197+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=dark)
200198
```
201199

202-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=dark)
200+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=dark)](https://leetcard.jacoblin.cool/JacobLinCool?theme=dark)
203201

204202
#### Nord
205203

206204
```md
207-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=nord)
205+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=nord)
208206
```
209207

210-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=nord)
208+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=nord)](https://leetcard.jacoblin.cool/JacobLinCool?theme=nord)
211209

212210
#### Forest
213211

214212
```md
215-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=forest)
213+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=forest)
216214
```
217215

218-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=forest)
216+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=forest)](https://leetcard.jacoblin.cool/JacobLinCool?theme=forest)
219217

220218
#### WTF
221219

222220
```md
223-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=wtf)
221+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=wtf)
224222
```
225223

226-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=wtf)
224+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=wtf)](https://leetcard.jacoblin.cool/JacobLinCool?theme=wtf)
227225

228226
#### Unicorn
229227

230228
```md
231-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=unicorn)
229+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=unicorn)
232230
```
233231

234-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&theme=unicorn)
232+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=unicorn)](https://leetcard.jacoblin.cool/JacobLinCool?theme=unicorn)
235233

236234
### Fonts
237235

@@ -242,26 +240,26 @@ Some examples:
242240
#### Milonga
243241

244242
```md
245-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=milonga)
243+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=milonga)
246244
```
247245

248-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=milonga)
246+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=milonga)](https://leetcard.jacoblin.cool/JacobLinCool?font=milonga)
249247

250248
#### Patrick Hand
251249

252250
```md
253-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=patrick_hand)
251+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=patrick_hand)
254252
```
255253

256-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=patrick_hand)
254+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=patrick_hand)](https://leetcard.jacoblin.cool/JacobLinCool?font=patrick_hand)
257255

258256
#### Ruthie
259257

260258
```md
261-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=ruthie)
259+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=ruthie)
262260
```
263261

264-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&font=ruthie)
262+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?font=ruthie)](https://leetcard.jacoblin.cool/JacobLinCool?font=ruthie)
265263

266264
### Extensions
267265

@@ -276,7 +274,7 @@ Want to contribute a `contest` or `nyan-cat` extension? PR is welcome!
276274
Show your recent submissions.
277275

278276
```md
279-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&ext=activity)
277+
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?ext=activity)
280278
```
281279

282-
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool&ext=activity)
280+
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?ext=activity)](https://leetcard.jacoblin.cool/JacobLinCool?ext=activity)

0 commit comments

Comments
 (0)