Formulas
Easily include mathematical formulas by enclosing TeX commands in $$ delimiters. Deckset uses MathJax to translate TeX commands into beautiful vector graphics.
$$
\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
$$

Inline Formulas
You can also include Formulas in paragraph text. Deckset takes care of adjusting the font size and color to match the surrounding text, for example:
The slope $$a$$ of the line defined by the function $$f(x) = 2x$$ is $$a = 2$$.

Formula Autoscaling
Don’t worry if your equations get really complex. Deckset will scale them down to fit onto the slide.
$$
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots =
\prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})},
\quad\quad \text{for $|q|<1$}.
$$

Chemistry and additional TeX commands
Deckset includes MathJax’s mhchem, boldsymbol, mathtools, and cancel extensions. Use them inside the same $$ delimiters; no package declaration is needed.
| Purpose | Example |
|---|---|
| Chemical equations and ions | $$\ce{2H2 + O2 -> 2H2O}$$ or $$\ce{SO4^2-}$$ |
| Bold mathematical symbols | $$\boldsymbol{\alpha + \beta}$$ |
| Cancellation marks | $$\cancel{x} + \bcancel{y}$$ |
| Mathematical notation | $$a \coloneqq b$$ |
For molecular structure drawings rather than chemical notation, use a SMILES code block.
Formulas render locally. Deckset can process multiple formulas at once and reuse cached results across app launches; no extra Markdown setting is required.