@@ -51,39 +51,53 @@ Here are some of the available button-style links, also using semantic
51
51
colors:
52
52
53
53
{{< button
54
- style="info"
55
- label="Info"
56
- link="http://example.com/ " >}}
54
+ style="info"
55
+ label="Info"
56
+ link="http://example.com/ "
57
+
58
+ > }}
57
59
58
60
{{< button
59
- style="success"
60
- label="Success"
61
- link="http://example.com/ " >}}
61
+ style="success"
62
+ label="Success"
63
+ link="http://example.com/ "
64
+
65
+ > }}
62
66
63
67
{{< button
64
- style="warning"
65
- label="Warning"
66
- link="http://example.com/ " >}}
68
+ style="warning"
69
+ label="Warning"
70
+ link="http://example.com/ "
71
+
72
+ > }}
67
73
68
74
{{< button
69
- style="danger"
70
- label="Danger"
71
- link="http://example.com/ " >}}
75
+ style="danger"
76
+ label="Danger"
77
+ link="http://example.com/ "
78
+
79
+ > }}
72
80
73
81
{{< button
74
- style="muted"
75
- label="Muted"
76
- link="http://example.com/ " >}}
82
+ style="muted"
83
+ label="Muted"
84
+ link="http://example.com/ "
85
+
86
+ > }}
77
87
78
88
{{< button
79
- style="light"
80
- label="Light"
81
- link="http://example.com/ " >}}
89
+ style="light"
90
+ label="Light"
91
+ link="http://example.com/ "
92
+
93
+ > }}
82
94
83
95
{{< button
84
- style="dark"
85
- label="Dark"
86
- link="http://example.com/ " >}}
96
+ style="dark"
97
+ label="Dark"
98
+ link="http://example.com/ "
99
+
100
+ > }}
87
101
88
102
{{< admonition note >}}
89
103
[ Sphinx Design
@@ -135,11 +149,13 @@ Content of the third card.
135
149
title = 'A card with a dropdown menu'
136
150
body = '''
137
151
{{< dropdown
138
- title="Click to expand dropdown"
139
- icon="fa-solid fa-eye"
140
- body="Hidden content" >}}
141
- '''
142
- {{< /card >}}
152
+ title="Click to expand dropdown"
153
+ icon="fa-solid fa-eye"
154
+ body="Hidden content"
155
+
156
+ > }}
157
+ > '''
158
+ > {{< /card >}}
143
159
144
160
{{< card >}}
145
161
title = 'A clickable card'
@@ -281,29 +297,36 @@ An admonition for reference.
281
297
And some admonition content.
282
298
:::
283
299
284
- {{< dropdown >}}
285
- body = 'And with no title and some content!'
300
+ {{< dropdown body="And with no title and some content!" >}}
286
301
287
302
{{< dropdown
288
- title="With a title"
289
- body="And some content!" >}}
303
+ title="With a title"
304
+ body="And some content!"
305
+
306
+ > }}
290
307
291
- {{< dropdown >}}
308
+ {{< dropdown
292
309
title="With a title and icon"
293
310
icon="fa-solid fa-lock-open"
294
- body="And some content and an icon!" >}}
311
+ body="And some content and an icon!"
312
+
313
+ > }}
295
314
296
- {{< dropdown >}}
315
+ {{< dropdown
297
316
title="A primary color dropdown"
298
317
icon="fa-solid fa-lock-open"
299
318
color="primary"
300
- body="And some content and an icon!" >}}
319
+ body="And some content and an icon!"
320
+
321
+ > }}
301
322
302
- {{< dropdown >}}
323
+ {{< dropdown
303
324
title="A secondary color dropdown"
304
325
icon="fa-solid fa-eye"
305
326
color="secondary"
306
- body="And some content and an icon!" >}}
327
+ body="And some content and an icon!"
328
+
329
+ > }}
307
330
308
331
## Copybuttons
309
332
0 commit comments