gitbook-plugin-katex-gitlab

0.15.2 • Public • Published

Math typesetting for GitLab syntax using KaTex

This repository is forked from gitbook-plugin-katex and supports GitLab syntax. Use it for your book, by adding to your book.json:

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

then run gitbook install.

Usage

Inline math: $`\int_{-\infty}^\infty g(x) dx`$

Or using the templating syntax:

{% inlinemath %}\int_{-\infty}^\infty g(x) dx{% endinlinemath %}

Block math:

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

Or using the templating syntax:

{% blockmath %}\int_{-\infty}^\infty g(x) dx{% endblockmath %}

Comparison with MathJax

  • Faster

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-katex-gitlab

Weekly Downloads

1

Version

0.15.2

License

Apache-2.0

Unpacked Size

14.1 kB

Total Files

4

Last publish

Collaborators

  • haotian-wang