Skip to content

uetchy/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="https://math.vercel.app?bgcolor=auto&from=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />

<img src="https://math.vercel.app?bgcolor=auto&inline=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />

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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 4

  •  
  •  
  •  
  •