1
- ### 📌 Starred topics
2
-
3
- The * topics* plugin displays your [ starred topics] ( https://github.com/stars?filter=topics ) .
4
- Check out [ GitHub topics] ( https://github.com/topics ) to search interesting topics.
5
-
1
+ <!-- header-->
6
2
<table >
7
- <td align =" center " >
8
- <details open><summary>With icons</summary>
9
- <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.topics.icons.svg">
10
- </details>
11
- <details open><summary>With labels</summary>
12
- <img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.topics.svg">
13
- </details>
14
- <img width="900" height="1" alt="">
15
- </td >
3
+ <tr ><th colspan =" 2 " ><h3 >📌 Starred topics</h3 ></th ></tr >
4
+ <tr ><td colspan =" 2 " align =" center " ><p >This plugin displays <a href =" https://github.com/stars?filter=topics " >starred topics</a >.
5
+ Check out <a href =" https://github.com/topics " >GitHub topics</a > to search interesting topics.</p >
6
+ </td ></tr >
7
+ <tr >
8
+ <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
9
+ <td><a href="/source/templates/classic"><code>📗 Classic template</code></a> <a href="/source/templates/markdown"><code>📒 Markdown template</code></a></td>
10
+ </tr >
11
+ <tr >
12
+ <td><code>👤 Users</code></td>
13
+ </tr >
14
+ <tr >
15
+ <td><i>No tokens are required for this plugin</i></td>
16
+ </tr >
17
+ <tr >
18
+ <td colspan="2" align="center">
19
+ <details open><summary>With icons</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.topics.icons.svg" alt=""></img></details>
20
+ <details open><summary>With labels</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.topics.svg" alt=""></img></details>
21
+ <img width="900" height="1" alt="">
22
+ </td>
23
+ </tr >
16
24
</table >
17
-
18
- This uses puppeteer to navigate through your starred topics page.
25
+ <!-- /header-->
19
26
20
27
#### ➡️ Available options
21
28
@@ -26,7 +33,8 @@ This uses puppeteer to navigate through your starred topics page.
26
33
</tr >
27
34
<tr >
28
35
<td nowrap="nowrap"><code>plugin_topics</code></td>
29
- <td rowspan="2">Display starred topics<img width="900" height="1" alt=""></td>
36
+ <td rowspan="2"><p>Enable topics plugin</p>
37
+ <img width =" 900 " height =" 1 " alt =" " ></td >
30
38
</tr >
31
39
<tr >
32
40
<td nowrap="nowrap"><b>type:</b> <code>boolean</code>
@@ -35,17 +43,31 @@ This uses puppeteer to navigate through your starred topics page.
35
43
</tr >
36
44
<tr >
37
45
<td nowrap="nowrap"><code>plugin_topics_mode</code></td>
38
- <td rowspan="2">Plugin mode<img width="900" height="1" alt=""></td>
46
+ <td rowspan="2"><p>Display mode:</p>
47
+ <ul >
48
+ <li ><code >labels</code >: display labels</li >
49
+ <li ><code >icons</code >: display icons <em >(topics without icons will be ignored)</em ></li >
50
+ <li ><code >starred</code >: alias for <code >labels</code ></li >
51
+ <li ><code >mastered</code >: alias for <code >icons</code ></li >
52
+ </ul >
53
+ <img width =" 900 " height =" 1 " alt =" " ></td >
39
54
</tr >
40
55
<tr >
41
56
<td nowrap="nowrap"><b>type:</b> <code>string</code>
42
57
<br >
43
58
<b >default:</b > starred<br >
44
- <b >allowed values:</b ><ul ><li >starred </li ><li >icons</li ><li >mastered</li ></ul ></td >
59
+ <b >allowed values:</b ><ul ><li >labels </li ><li >icons</ li >< li >starred </li ><li >mastered</li ></ul ></td >
45
60
</tr >
46
61
<tr >
47
62
<td nowrap="nowrap"><code>plugin_topics_sort</code></td>
48
- <td rowspan="2">Sorting method of starred topics<img width="900" height="1" alt=""></td>
63
+ <td rowspan="2"><p>Sorting method:</p>
64
+ <ul >
65
+ <li ><code >stars</code >: sort by most stars</li >
66
+ <li ><code >activity</code >: sort by recent activity</li >
67
+ <li ><code >starred</code >: sort by the date you starred them</li >
68
+ <li ><code >random</code >: sort topics randomly</li >
69
+ </ul >
70
+ <img width =" 900 " height =" 1 " alt =" " ></td >
49
71
</tr >
50
72
<tr >
51
73
<td nowrap="nowrap"><b>type:</b> <code>string</code>
@@ -55,14 +77,17 @@ This uses puppeteer to navigate through your starred topics page.
55
77
</tr >
56
78
<tr >
57
79
<td nowrap="nowrap"><code>plugin_topics_limit</code></td>
58
- <td rowspan="2">Maximum number of topics to display<img width="900" height="1" alt=""></td>
80
+ <td rowspan="2"><p>Display limit</p>
81
+ <p >When using <code >plugin_topics_mode: labels</code >, an ellipsis will be displayed</p >
82
+ <img width =" 900 " height =" 1 " alt =" " ></td >
59
83
</tr >
60
84
<tr >
61
85
<td nowrap="nowrap"><b>type:</b> <code>number</code>
62
86
<i >(0 ≤
63
87
𝑥
64
88
≤ 20)</i >
65
89
<br >
90
+ <b >zero behaviour:</b > disable</br >
66
91
<b >default:</b > 15<br ></td >
67
92
</tr >
68
93
</table >
0 commit comments