Skip to content

Commit

Permalink
chore(mdx-math): add more testing contents
Browse files Browse the repository at this point in the history
issue #614
  • Loading branch information
sabertazimi committed Apr 26, 2022
1 parent 8a3a375 commit f46bbc0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions contents/implementFancyMDX.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,47 @@ A note[^1]

## Math

Inline math formulas

$\sqrt{a^2 + b^2}$

$c = \pm\sqrt{a^2 + b^2}$

Block math formulas

$$
L = \frac{1}{2} \rho v^2 S C_L
$$

$$
\def\arraystretch{1.5}
\begin{array}{c:c:c}
a & b & c \\ \hline
d & e & f \\
\hdashline
g & h & i
\end{array}
$$

$$
\begin{equation}
\begin{split}
a &= b + c \\
&= e + f
\end{split}
\end{equation}
$$

$$
\begin{align}
a &= b + c \\
d + e &= f
\end{align}
$$

$$
\begin{alignat}{2}
10 &x + &3 &y = 2 \\
3 &x + &13 &y = 4
\end{alignat}
$$

0 comments on commit f46bbc0

Please sign in to comment.