An open API service indexing awesome lists of open source software.

https://github.com/gitbookio/plugin-katex

Math typesetting using KaTex
https://github.com/gitbookio/plugin-katex

Last synced: 1 day ago
JSON representation

Math typesetting using KaTex

Awesome Lists containing this project

README

          

Math typesetting using KaTex
==============

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

```
{
"plugins": ["katex"]
}
```

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:

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

### Comparison with [MathJax](https://github.com/GitbookIO/plugin-mathjax)

- Faster