Math API
Usage
https://math.vercel.app?from=[LaTeX Math Equation]
Block notation
https://math.vercel.app?from=\frac{1}{\Gamma(s)}\int_{0}^{\infty}\frac{u^{s-1}}{e^{u}-1}\mathrm{d}u
Inline notation
https://math.vercel.app?inline=\frac{1}{\Gamma(s)}\int_{0}^{\infty}\frac{u^{s-1}}{e^{u}-1}\mathrm{d}u
Color
By default, the color of equation will be black in light theme, or white in dark theme. You can manually change this behavior by passing `color` and `alternateColor` parameters.
https://math.vercel.app?from=\sum&color=red
https://math.vercel.app?from=\sum&color=red&alternateColor=cyan
HTML Example
<img src="https://math.vercel.app?from=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />
<img src="https://math.vercel.app?inline=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />
Markdown Example
=\log(1+e^x))
Online Editor
Preview
HTML
Markdown
URL
Resources
Source Code (GitHub)Author (Twitter)
Math API: LaTeX Math as SVG image - DEV Community 👩💻👨💻