Skip to content

linways/math-api

 
 

Repository files navigation

Math API

workflow-badge

Place LaTeX Math equation on anywhere as <img> tag.

Usage

curl https://math.vercel.app?bgcolor=auto&from=\sum^{N}_{i}x_i

HTML

<img src="proxy.php?url=https%3A%2F%2Fmath.vercel.app%3Fbgcolor%3Dauto%26amp%3Bfrom%3D%5Clog%5Cprod%5EN_%7Bi%7Dx_%7Bi%7D%3D%5Csum%5EN_i%5Clog%7Bx_i%7D" />

<img src="proxy.php?url=https%3A%2F%2Fmath.vercel.app%3Fbgcolor%3Dauto%26amp%3Binline%3D%5Clog%5Cprod%5EN_%7Bi%7Dx_%7Bi%7D%3D%5Csum%5EN_i%5Clog%7Bx_i%7D" />

Markdown

![](https://math.vercel.app?bgcolor=auto&from=\LaTeX)

Equation 1

Option

.svg extension

URL ends with .svg extension will be treated as a normal math formula.

Some Markdown blog services won't treat image tags correctly whose URL has no any image extension in it. This option may give fixes to these situations.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


uetchy

💻 🎨

Long0x0

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Put LaTeX Math equation on everywhere as <img> tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 67.2%
  • TypeScript 18.5%
  • JavaScript 10.9%
  • Dockerfile 3.0%
  • Shell 0.4%