LaTeX Block

To render math you can use LaTeX math expressions. Surround LaTeX expression with fenced block and specify as a language The result will be a following math expression. \forall x \in X, \quad \exists y \leq \epsilon x = \begin{cases} a &\text{if } b \\ c &\text{if } d \\ x &\text{if } z \end{cases} Alternatively surround a match expression with double dollar sign to render it into a latex block. Given: x=y and y=z latex ```latex \forall x \in X, \quad \exists y \leq \epsilon ``` ```latex x = \begin{cases} a &\text{if } b \\ c &\text{if } d \\ x &\text{if } z \end{cases} ``` $$ Given: $$x=y$$ and $$y=z$$

LaTeX Inline

Znai also supports inline LaTeX. Use single backticks instead of three to render math expressions inline. JSON parameters are used to allow LaTeX braces to be parsed correctly. The result will be a following math expression. It holds that . Alternatively you can surround latex expression with . It holds that It holds that `:latex: {src: "\\frac{1}{2} < \\sqrt{2}"}`. $ It holds that $\frac{1}{2} < \sqrt{2}$

Presentation Mode

In presentation mode, rendered expressions will automatically scale to make use of the screen space.

KaTex

Rendering is done by using awesome KaTeX library. KaTeX fonts are copied to generated documentation resources.