I followed this guide https://gohugo.io/functions/transform/tomath/#example to render mathematical syntax using latex. It throws error for valid syntax. When i tried it with katex renderer online it works. Is there some kind of bug ? The latex syntax is as below
Unable to render mathematical markup to HTML using the transform.ToMath function. The KaTeX display engine threw the following error: template: _default/_markup/render-passthrough.html:2:23: executing "_default/_markup/render-passthrough.html" at <transform.ToMath>: error calling ToMath: not a function: see "~/Workspace/alvarorevuelta.com/content/posts/2024-04-26-fft-polynomials.md:0:1".