mirror of https://github.com/hamaluik/mkbook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
470 B
470 B
title = "KaTeX (Math) Formulas"title = "KaTeX (Math) Formulas"
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 = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
This feature is still experimental, but I find it handy for my books.