Skip to content

Update version to v0.10.1 and add '$...$' support.

License

Notifications You must be signed in to change notification settings

Nikscorp/plugin-katex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math typesetting using KaTex

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

{
    "plugins": ["katex@git+https://github.com/Nikscorp/plugin-katex.git"]
}

then run gitbook install.

Usage

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


Block math:

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

Or using the templating syntax:

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

Comparison with MathJax

  • Faster

About

Update version to v0.10.1 and add '$...$' support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%