gitbook-plugin-katex

1.1.4 • Public • Published

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

/gitbook-plugin-katex/

    Package Sidebar

    Install

    npm i gitbook-plugin-katex

    Weekly Downloads

    118

    Version

    1.1.4

    License

    Apache-2.0

    Last publish

    Collaborators

    • taranvohra
    • gitbook-bot
    • samypesse
    • jpreynat
    • emmerich