gitbook-plugin-katex2

1.2.0 • 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

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-katex2

Weekly Downloads

1

Version

1.2.0

License

Apache-2.0

Unpacked Size

1.36 MB

Total Files

75

Last publish

Collaborators

  • jeff-tian