@@ -50,54 +50,51 @@ success outline
50
50
Here are some of the available button-style links, also using semantic
51
51
colors:
52
52
53
- {{< button
54
- style="info"
55
- label="Info"
56
- link="http://example.com/ "
57
-
58
- > }}
53
+ <!-- prettier-ignore-start -->
59
54
60
55
{{< button
61
- style="success"
62
- label="Success"
63
- link="http://example.com/ "
64
-
65
- > }}
56
+ style="info"
57
+ label="Info"
58
+ link="http://example.com/ "
59
+ > }}
66
60
67
61
{{< button
68
- style="warning"
69
- label="Warning"
70
- link="http://example.com/ "
71
-
72
- > }}
62
+ style="success"
63
+ label="Success"
64
+ link="http://example.com/ "
65
+ > }}
73
66
74
67
{{< button
75
- style="danger"
76
- label="Danger"
77
- link="http://example.com/ "
78
-
79
- > }}
68
+ style="warning"
69
+ label="Warning"
70
+ link="http://example.com/ "
71
+ > }}
80
72
81
73
{{< button
82
- style="muted"
83
- label="Muted"
84
- link="http://example.com/ "
85
-
86
- > }}
74
+ style="danger"
75
+ label="Danger"
76
+ link="http://example.com/ "
77
+ > }}
87
78
88
79
{{< button
89
- style="light"
90
- label="Light"
91
- link="http://example.com/ "
80
+ style="muted"
81
+ label="Muted"
82
+ link="http://example.com/ "
83
+ > }}
92
84
93
- > }}
85
+ {{< button
86
+ style="light"
87
+ label="Light"
88
+ link="http://example.com/ "
89
+ > }}
94
90
95
91
{{< button
96
- style="dark"
97
- label="Dark"
98
- link="http://example.com/ "
92
+ style="dark"
93
+ label="Dark"
94
+ link="http://example.com/ "
95
+ > }}
99
96
100
- > }}
97
+ <!-- prettier-ignore-end -->
101
98
102
99
{{< admonition note >}}
103
100
[ Sphinx Design
@@ -118,6 +115,8 @@ buttons will automatically use the custom color.
118
115
119
116
## Cards
120
117
118
+ <!-- prettier-ignore-start -->
119
+
121
120
{{< grid >}}
122
121
123
122
{{< card >}}
@@ -152,10 +151,9 @@ body = '''
152
151
title="Click to expand dropdown"
153
152
icon="fa-solid fa-eye"
154
153
body="Hidden content"
155
-
156
- > }}
157
- > '''
158
- > {{< /card >}}
154
+ > }}
155
+ '''
156
+ {{< /card >}}
159
157
160
158
{{< card >}}
161
159
title = 'A clickable card'
@@ -182,6 +180,8 @@ footer = 'Footer'
182
180
183
181
{{< /grid >}}
184
182
183
+ <!-- prettier-ignore-end -->
184
+
185
185
## Tabs
186
186
187
187
Code example from the PyData Sphinx Theme's kitchen sink:
@@ -299,34 +299,34 @@ And some admonition content.
299
299
300
300
{{< dropdown body="And with no title and some content!" >}}
301
301
302
+ <!-- prettier-ignore-start -->
303
+
302
304
{{< dropdown
303
305
title="With a title"
304
306
body="And some content!"
305
-
306
- > }}
307
+ > }}
307
308
308
309
{{< dropdown
309
310
title="With a title and icon"
310
311
icon="fa-solid fa-lock-open"
311
312
body="And some content and an icon!"
312
-
313
- > }}
313
+ > }}
314
314
315
315
{{< dropdown
316
316
title="A primary color dropdown"
317
317
icon="fa-solid fa-lock-open"
318
318
color="primary"
319
319
body="And some content and an icon!"
320
-
321
- > }}
320
+ > }}
322
321
323
322
{{< dropdown
324
323
title="A secondary color dropdown"
325
324
icon="fa-solid fa-eye"
326
325
color="secondary"
327
326
body="And some content and an icon!"
327
+ > }}
328
328
329
- > }}
329
+ <!-- prettier-ignore-end -->
330
330
331
331
## Copybuttons
332
332
0 commit comments