Description
@webc.site/math is a compiler that turns LaTeX formulas into native MathML, for rendering math in Markdown and on the web. It is published as an npm package and is built to be small and fast, with zero runtime overhead. You can use the formula compiler directly, or use the Markdown helper, which finds formulas wrapped in dollar signs in a Markdown string and converts them. The site has size and performance comparisons against other approaches, a live interactive editor where you type LaTeX and see the result, and a set of demos with formulas such as Euler's identity, the Basel problem, the Gaussian integral, the quadratic formula and the Cauchy-Schwarz inequality. The source code is on GitHub.…
Highlights
- Compiles LaTeX to native MathML
- Markdown helper for $ and $$ formulas
- Interactive editor and formula demos
- Size and performance comparisons on the site
- Open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Math.
People also visit
Math FAQ
What does @webc.site/math do?
It compiles LaTeX formulas into native MathML, so math can be rendered in Markdown and on web pages.
How do I use it?
Import the formula compiler and call it with a LaTeX string, or import the Markdown helper and pass it text with formulas wrapped in dollar signs.
Can I try it first?
Yes. The site has an interactive editor where you type LaTeX and see the rendered result.
Where is the source?
On GitHub, in the webc-site organization.
What are the best Math alternatives?
Popular alternatives to Math include Upmath.me, RaTeX and KaTeX. See all Math alternatives


