gitbook-plugin-katex-plus

1.1.0 • Public • Published

gitbook-plugin-katex-plus

Math typesetting using KaTex

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

{
  "plugins": ["katex-plus"]
}

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:

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

Block math:

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

Comparison with gitbook-plugin-katex

  • Use single $ for inline math.

/gitbook-plugin-katex-plus/

    Package Sidebar

    Install

    npm i gitbook-plugin-katex-plus

    Weekly Downloads

    2

    Version

    1.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • akuma