Simple api for using katex.
https://katex-api-test.deno.dev
expression
(required) : A url encoded math expressionrawHTML
(optional) : Whether to include the css in the html Defaults to true
To encode \sqrt{x^2+1}
- Percent encode the expresion to
%5Csqrt%7Bx%5E2%2B1%7D
- Add it to the
expression
field - Visit the url
Link with styles
https://katex-api-test.deno.dev/?expression=%5Csqrt%7Bx%5E2%2B1%7D
Link without styles
https://katex-api-test.deno.dev/?expression=%5Csqrt%7Bx%5E2%2B1%7D&rawHTML=true