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.
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX is compatible with all major browsers, including Chrome, Safari, Firefox, Opera, and Edge. KaTeX supports much (but not all) of LaTeX and many LaTeX packages. See the list of supported functions. For details on how to configure auto-render extension, refer to the documentation. Call katex.render to render a TeX expression directly into a DOM element. For example: Call katex.renderToString to generate an HTML string of the rendered math, e.g., for server-side rendering. For example: Make sure to include the CSS and font files in both cases. If you are doing all rendering on the server, there is no need to include the JavaScript on the client. The examples above use the throwOnError: false option, which renders invalid inputs as the TeX source code in red (by default), with the error message as hover text. For other available options, see the API documentation, options documentation, and handling errors documentation. This project exists thanks to all the people who contribute code. If you'd like to help, see our guide to contributing code. Support this project with your organization. Your logo will show up here with a link to your website.
Excerpt from the source-code README · 6,502 chars · not written by Vinony
~1 min read
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.
It was initially developed by Khan Academy, and became one of the top five trending projects on GitHub in September 2014.
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).