Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akuma/gitbook-plugin-katex-plus
Math typesetting using KaTex
https://github.com/akuma/gitbook-plugin-katex-plus
gitbook gitbook-plugin katex math
Last synced: 2 months ago
JSON representation
Math typesetting using KaTex
- Host: GitHub
- URL: https://github.com/akuma/gitbook-plugin-katex-plus
- Owner: akuma
- License: apache-2.0
- Created: 2018-01-02T15:21:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T08:45:46.000Z (about 5 years ago)
- Last Synced: 2024-10-28T10:55:14.997Z (3 months ago)
- Topics: gitbook, gitbook-plugin, katex, math
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitbook-plugin-katex-plus
> Math typesetting using KaTex
Use it for your book, by adding to your book.json:
```
{
"plugins": ["katex-plus"]
}
```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](https://github.com/GitbookIO/plugin-katex)
- Use single `$` for inline math.