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
- Host: GitHub
- URL: https://github.com/gitbookio/plugin-katex
- Owner: GitbookIO
- License: apache-2.0
- Archived: true
- Created: 2014-09-17T08:20:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T02:42:38.000Z (over 5 years ago)
- Last Synced: 2025-01-20T22:50:50.210Z (12 months ago)
- Language: JavaScript
- Size: 2.58 MB
- Stars: 60
- Watchers: 8
- Forks: 38
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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