Skip to content
forked from uetchy/math-api

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

License

Notifications You must be signed in to change notification settings

exploitd/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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 63.1%
  • JavaScript 18.8%
  • TypeScript 17.2%
  • Other 0.9%