GitbookIO / plugin-katex

Math typesetting using KaTex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Math typesetting using KaTex

Use it for your book, by adding to your book.json:

{
    "plugins": ["katex"]
}

then run gitbook install.

Usage

Inline math: $$\int_{-\infty}^\infty g(x) dx$$


Block math:

$$
\int_{-\infty}^\infty g(x) dx
$$

Or using the templating syntax:

{% math %}\int_{-\infty}^\infty g(x) dx{% endblock %}

Comparison with MathJax

  • Faster

About

Math typesetting using KaTex

License:Apache License 2.0


Languages

Language:JavaScript 100.0%