@jeff-tian/gitbook-plugin-katex

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

Dependents (0)

Package Sidebar

Install

npm i @jeff-tian/gitbook-plugin-katex

Weekly Downloads

3

Version

1.1.14

License

Apache-2.0

Unpacked Size

1.76 MB

Total Files

76

Last publish

Collaborators

  • jeff-tian