New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gitbook-plugin-katex-pro

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-katex-pro

Math typesetting using KaTex into GitBook

latest
Source
npmnpm
Version
0.16.3
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

math

FAQs

Package last updated on 21 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts