JSFiddle - React, Tailwind, and code Playground

by Geequette

HTML

<script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-svg.js"></script>
\[ e=mc^2 \]

\[ {e=mc^2 \]

JavaScript

MathJax.typesetPromise()	
    .then(() => console.log ('Typeset successful'))
	.catch((err) => console.log('Typeset failed: ' + err.message));