# KaTeX (Math) Formulas

If you have KaTeX installed and available on your path, mkbook will try to render any code blocks with a language tag of `katex` as inline math blocks.

For example:

    ```katex
    x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
    ```

is rendered as:

x=−b±b 2−4 ac2 a x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} x=2a−b±b2−4ac
​​

This feature is still experimental, but I find it handy for my books.

Next chapter: “Images”