gitbook-plugin-katex-gitlab
v0.15.2
Published
Math typesetting for GitLab syntax using KaTex into GitBook
Downloads
14
Readme
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