Skip to content

Commit 97e2331

Browse files
committed
docs: add document of contest extension
1 parent 4c542b1 commit 97e2331

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,26 @@ Hide elements on the card, it is a comma-separated list of element ids.
133133

134134
Extension, it is a comma-separated list of extension names.
135135

136-
Now there is only a notable extension: `activity`.
136+
Now there is only two notable extension: `activity` and `contest`.
137+
138+
NOTICE: You can only use one of `activity` and `contest` at a time now, maybe they can be used together in the future.
137139

138140
> But actually animation, font, theme, and external stylesheet are all implemented by extensions and enabled by default.
139141
140-
Want to contribute a `contest` or `nyan-cat` extension? PR is welcome!
142+
Want to contribute a `nyan-cat` extension? PR is welcome!
141143

142144
```md
143145
![](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)
144146
```
145147

146148
[![](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)](https://leetcard.jacoblin.cool/jacoblincool?ext=activity)
147149

150+
```md
151+
![](https://leetcard.jacoblin.cool/lapor?ext=contest)
152+
```
153+
154+
[![](https://leetcard.jacoblin.cool/lapor?ext=contest)](https://leetcard.jacoblin.cool/lapor?ext=contest)
155+
148156
#### `cache` (default: `60`)
149157

150158
Cache time in seconds.
@@ -263,11 +271,15 @@ Some examples:
263271

264272
### Extensions
265273

266-
Now there is only a notable extension: `activity`.
274+
Extension, it is a comma-separated list of extension names.
275+
276+
Now there is only two notable extension: `activity` and `contest`.
277+
278+
NOTICE: You can only use one of `activity` and `contest` at a time now, maybe they can be used together in the future.
267279

268280
> But actually animation, font, theme, and external stylesheet are all implemented by extensions and enabled by default.
269281
270-
Want to contribute a `contest` or `nyan-cat` extension? PR is welcome!
282+
Want to contribute a `nyan-cat` extension? PR is welcome!
271283

272284
#### `activity`
273285

@@ -278,3 +290,13 @@ Show your recent submissions.
278290
```
279291

280292
[![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?ext=activity)](https://leetcard.jacoblin.cool/JacobLinCool?ext=activity)
293+
294+
#### `contest`
295+
296+
Show your contest rating history.
297+
298+
```md
299+
![Leetcode Stats](https://leetcard.jacoblin.cool/lapor?ext=contest)
300+
```
301+
302+
[![Leetcode Stats](https://leetcard.jacoblin.cool/lapor?ext=contest)](https://leetcard.jacoblin.cool/lapor?ext=contest)

0 commit comments

Comments
 (0)