@@ -33,7 +33,7 @@ Then add the ``dropdown`` class to any admonition directive (shown here on a ``n
33
33
:start-after: begin-example-dropdown
34
34
:end-before: .. end-example-dropdown
35
35
:code: rst
36
- :class: highlight-rst
36
+ :class: highlight
37
37
38
38
.. tab-item :: markdown
39
39
@@ -73,7 +73,7 @@ The title is specified on the same line as the ``.. admonition::`` directive:
73
73
:start-after: begin-example-title
74
74
:end-before: .. end-example-title
75
75
:code: rst
76
- :class: highlight-rst
76
+ :class: highlight
77
77
78
78
.. tab-item :: markdown
79
79
@@ -108,7 +108,7 @@ Note that it updates both the color and the icon. See :doc:`./styling` for a lis
108
108
:start-after: begin-example-semantic
109
109
:end-before: .. end-example-semantic
110
110
:code: rst
111
- :class: highlight-rst
111
+ :class: highlight
112
112
113
113
.. tab-item :: markdown
114
114
@@ -145,7 +145,7 @@ Be sure to use the same color for ``border-color`` and ``color`` and a different
145
145
:start-after: begin-example-color
146
146
:end-before: .. end-example-color
147
147
:code: rst
148
- :class: highlight-rst
148
+ :class: highlight
149
149
150
150
.. tab-item :: markdown
151
151
@@ -163,7 +163,7 @@ And add the following to your ``custom.css`` file:
163
163
:start-after: begin-custom-color
164
164
:end-before: /* end-custom-color
165
165
:code: css
166
- :class: highlight-css
166
+ :class: highlight
167
167
168
168
169
169
Using a custom icon
@@ -186,7 +186,7 @@ Customizing the icon uses a similar process to customizing the color: create a n
186
186
:start-after: begin-example-icon
187
187
:end-before: .. end-example-icon
188
188
:code: rst
189
- :class: highlight-rst
189
+ :class: highlight
190
190
191
191
.. tab-item :: markdown
192
192
@@ -204,7 +204,7 @@ And add the following css to your ``custom.css`` file:
204
204
:start-after: begin-custom-icon
205
205
:end-before: /* end-custom-icon
206
206
:code: css
207
- :class: highlight-css
207
+ :class: highlight
208
208
209
209
210
210
Combining all three customizations
@@ -227,7 +227,7 @@ Here we demonstrate an admonition with a custom icon, color, and title (and also
227
227
:start-after: begin-example-youtube
228
228
:end-before: .. end-example-youtube
229
229
:code: rst
230
- :class: highlight-rst
230
+ :class: highlight
231
231
232
232
.. tab-item :: markdown
233
233
@@ -247,4 +247,4 @@ And add the following css to your custom.css file:
247
247
:start-after: begin-custom-youtube
248
248
:end-before: /* end-custom-youtube
249
249
:code: css
250
- :class: highlight-css
250
+ :class: highlight
0 commit comments