KaTeX

JavaScript library for displaying math notation From Wikipedia, the free encyclopedia

KaTeX is a cross-browser JavaScript library that displays mathematical notation in web browsers. It puts special emphasis on being fast and easy to use.[2]

Stable release
v0.16.22[1] / April 9, 2025; 10 months ago (2025-04-09)
Written inJavaScript
Quick facts Stable release, Written in ...
KaTeX
Stable release
v0.16.22[1] / April 9, 2025; 10 months ago (2025-04-09)
Written inJavaScript
Operating systemCross-platform
TypeMathematical software
LicenseMIT License
Websitekatex.org
Repository
Close

It was initially developed by Khan Academy,[3] and became one of the top five trending projects on GitHub in September 2014.[4]

Features

KaTeX rendering of math claims to be:

  • Fast: It renders its math synchronously and doesn't need to reflow the page.
  • Print quality: Its layout is based on TeX.
  • Self contained: It has no dependencies, so it can be easily bundled.
  • Capable of server-side rendering: it has an option to generate HTML on the server (so, for example, one can pre-render expressions using Node.js and send them as plain HTML).

KaTeX implements a smaller subset of LaTeX's mathematical notation features than MathJax.[2][5]

See also

References

Related Articles

Wikiwand AI