katex

README

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

Plugin

Math typesetting using KaTex into GitBook

https://github.com/GitbookIO/plugin-katex


Latest: 1.1.4

0.0.0, 0.1.0, 0.2.0, 0.2.1, 1.0.0-alpha, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4,

Requirements

GitBook
0.2.1 *
1.0.0 >1.x.x
1.0.1 >2.x.x
1.1.4 >=2.0.0

Maintainers

Open on NPM