UNPKG

7.01 kBYAMLView Raw
1cases:
2 - title: attention
3 mdast:
4 type: root
5 children:
6 - type: mystDirective
7 name: attention
8 args: Admonition attention
9 children:
10 - type: admonition
11 kind: attention
12 children:
13 - type: paragraph
14 children:
15 - type: text
16 value: Admonition attention
17 myst: |-
18 ```{attention} Admonition attention
19 ```
20 html: |-
21 <aside class="admonition attention">
22 <p class="admonition-title">Attention</p>
23 <p>Admonition attention</p>
24 </aside>
25 latex: |-
26 \begin{mdframed}[style=attention]
27 Admonition attention
28 \end{mdframed}
29
30 - title: caution
31 mdast:
32 type: root
33 children:
34 - type: mystDirective
35 name: caution
36 args: Admonition caution
37 children:
38 - type: admonition
39 kind: caution
40 children:
41 - type: paragraph
42 children:
43 - type: text
44 value: Admonition caution
45 myst: |-
46 ```{caution} Admonition caution
47 ```
48 html: |-
49 <aside class="admonition caution">
50 <p class="admonition-title">Caution</p>
51 <p>Admonition caution</p>
52 </aside>
53 latex: |-
54 \begin{mdframed}[style=caution]
55 Admonition caution
56 \end{mdframed}
57
58 - title: danger
59 mdast:
60 type: root
61 children:
62 - type: mystDirective
63 name: danger
64 args: Admonition danger
65 children:
66 - type: admonition
67 kind: danger
68 children:
69 - type: paragraph
70 children:
71 - type: text
72 value: Admonition danger
73 myst: |-
74 ```{danger} Admonition danger
75 ```
76 html: |-
77 <aside class="admonition danger">
78 <p class="admonition-title">Danger</p>
79 <p>Admonition danger</p>
80 </aside>
81 latex: |-
82 \begin{mdframed}[style=danger]
83 Admonition danger
84 \end{mdframed}
85
86 - title: error
87 mdast:
88 type: root
89 children:
90 - type: mystDirective
91 name: error
92 args: Admonition error
93 children:
94 - type: admonition
95 kind: error
96 children:
97 - type: paragraph
98 children:
99 - type: text
100 value: Admonition error
101 myst: |-
102 ```{error} Admonition error
103 ```
104 html: |-
105 <aside class="admonition error">
106 <p class="admonition-title">Error</p>
107 <p>Admonition error</p>
108 </aside>
109 latex: |-
110 \begin{mdframed}[style=error]
111 Admonition error
112 \end{mdframed}
113
114 - title: important
115 mdast:
116 type: root
117 children:
118 - type: mystDirective
119 name: important
120 args: Admonition important
121 children:
122 - type: admonition
123 kind: important
124 children:
125 - type: paragraph
126 children:
127 - type: text
128 value: Admonition important
129 myst: |-
130 ```{important} Admonition important
131 ```
132 html: |-
133 <aside class="admonition important">
134 <p class="admonition-title">Important</p>
135 <p>Admonition important</p>
136 </aside>
137 latex: |-
138 \begin{mdframed}[style=important]
139 Admonition important
140 \end{mdframed}
141
142 - title: hint
143 mdast:
144 type: root
145 children:
146 - type: mystDirective
147 name: hint
148 args: Admonition hint
149 children:
150 - type: admonition
151 kind: hint
152 children:
153 - type: paragraph
154 children:
155 - type: text
156 value: Admonition hint
157 myst: |-
158 ```{hint} Admonition hint
159 ```
160 html: |-
161 <aside class="admonition hint">
162 <p class="admonition-title">Hint</p>
163 <p>Admonition hint</p>
164 </aside>
165 latex: |-
166 \begin{mdframed}[style=hint]
167 Admonition hint
168 \end{mdframed}
169
170 - title: note
171 mdast:
172 type: root
173 children:
174 - type: mystDirective
175 name: note
176 args: Admonition note
177 children:
178 - type: admonition
179 kind: note
180 children:
181 - type: paragraph
182 children:
183 - type: text
184 value: Admonition note
185 myst: |-
186 ```{note} Admonition note
187 ```
188 html: |-
189 <aside class="admonition note">
190 <p class="admonition-title">Note</p>
191 <p>Admonition note</p>
192 </aside>
193 latex: |-
194 \begin{mdframed}[style=note]
195 Admonition note
196 \end{mdframed}
197
198 - title: seealso
199 mdast:
200 type: root
201 children:
202 - type: mystDirective
203 name: seealso
204 args: Admonition seealso
205 children:
206 - type: admonition
207 kind: seealso
208 children:
209 - type: paragraph
210 children:
211 - type: text
212 value: Admonition seealso
213 myst: |-
214 ```{seealso} Admonition seealso
215 ```
216 html: |-
217 <aside class="admonition seealso">
218 <p class="admonition-title">See Also</p>
219 <p>Admonition seealso</p>
220 </aside>
221 latex: |-
222 \begin{mdframed}[style=seealso]
223 Admonition seealso
224 \end{mdframed}
225
226 - title: tip
227 mdast:
228 type: root
229 children:
230 - type: mystDirective
231 name: tip
232 args: Admonition tip
233 children:
234 - type: admonition
235 kind: tip
236 children:
237 - type: paragraph
238 children:
239 - type: text
240 value: Admonition tip
241 myst: |-
242 ```{tip} Admonition tip
243 ```
244 html: |-
245 <aside class="admonition tip">
246 <p class="admonition-title">Tip</p>
247 <p>Admonition tip</p>
248 </aside>
249 latex: |-
250 \begin{mdframed}[style=tip]
251 Admonition tip
252 \end{mdframed}
253
254 - title: warning
255 mdast:
256 type: root
257 children:
258 - type: mystDirective
259 name: warning
260 args: Admonition warning
261 children:
262 - type: admonition
263 kind: warning
264 children:
265 - type: paragraph
266 children:
267 - type: text
268 value: Admonition warning
269 myst: |-
270 ```{warning} Admonition warning
271 ```
272 html: |-
273 <aside class="admonition warning">
274 <p class="admonition-title">Warning</p>
275 <p>Admonition warning</p>
276 </aside>
277 latex: |-
278 \begin{mdframed}[style=warning]
279 Admonition warning
280 \end{mdframed}