gitbook-plugin-katex-pro

0.16.3 • Public • Published

gitbook-plugin-katex-pro

Math typesetting using KaTex

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

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

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.
  • Update KaTex

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-katex-pro

Weekly Downloads

0

Version

0.16.3

License

Apache-2.0

Unpacked Size

1.39 MB

Total Files

66

Last publish

Collaborators

  • windspiritsr