TeX equation
2 min
tex equation blocks let you render mathematical expressions and equations directly in your documentation it is useful for technical content, scientific documentation, and educational materials syntax tex equations use standard fenced code block syntax ```tex e = mc^2 ``` the content inside the code block must follow standard tex notation example the following example renders several common mathematical expressions ```tex \begin{aligned} \int { \infty}^{\infty} e^{ x^2}\\,dx &= \sqrt{\pi} \\\\ \sum {n=1}^{\infty} \frac{1}{n^2} &= \frac{\pi^2}{6} \\\\ e &= mc^2 \end{aligned} ```
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.