docs(test): add markdown latex render smoke test
This commit is contained in:
34
README.md
Normal file
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Trade T2 Markdown Smoke Test
|
||||
|
||||
This repository checks `Markdown + LaTeX` rendering in Gitea.
|
||||
|
||||
Inline math: $E = mc^2$.
|
||||
|
||||
Display math:
|
||||
|
||||
$$
|
||||
\nabla \cdot \vec{E} = \frac{\rho}{\varepsilon_0}
|
||||
$$
|
||||
|
||||
Another equation:
|
||||
|
||||
$$
|
||||
\mathrm{PnL}(t) = \sum_{i=1}^{n} q_i \cdot \left(p_i(t) - p_i(0)\right)
|
||||
$$
|
||||
|
||||
Matrix example:
|
||||
|
||||
$$
|
||||
A =
|
||||
\begin{bmatrix}
|
||||
1 & 2 & 3 \\
|
||||
0 & 1 & 4 \\
|
||||
5 & 6 & 0
|
||||
\end{bmatrix}
|
||||
$$
|
||||
|
||||
And a short identity:
|
||||
|
||||
$$
|
||||
\int_0^{2\pi} \sin(x)\,dx = 0
|
||||
$$
|
||||
Reference in New Issue
Block a user