UNPKG

1.02 kBYAMLView Raw
1cases:
2 - title: Math directive
3 mdast:
4 type: root
5 children:
6 - type: mystDirective
7 name: math
8 value: Ax = b
9 children:
10 - type: math
11 value: |-
12 Ax = b
13 myst: |-
14 ```{math}
15 Ax = b
16 ```
17 html: |-
18 <div class="math block">Ax = b</div>
19 latex: |-
20 \begin{equation}
21 Ax = b
22 \end{equation}
23
24 - title: Math directive with label
25 id: math
26 mdast:
27 type: root
28 children:
29 - type: mystDirective
30 name: math
31 options:
32 label: matrix
33 value: Ax = b
34 children:
35 - type: math
36 identifier: matrix
37 label: matrix
38 value: |-
39 Ax = b
40 myst: |-
41 ```{math}
42 :label: matrix
43 Ax = b
44 ```
45 html: |-
46 <div id="matrix" class="math block">Ax = b</div>
47 latex: |-
48 \begin{equation}
49 \label{matrix}
50 Ax = b
51 \end{equation}