How to enable asciimath
define:
asciimath = {
const amtex = await import('https://cdn.skypack.dev/asciimath-to-latex@0.5.1?min');
return (...a) => tex`${amtex.default(String.raw(...a))}`;
}
then use:
asciimath`x^2`
1 Like
Excellent! Many thanks
1 Like