Help me to understand. How can I use latex in react in this way
\documentclass{article}
\usepackage{xlop}
\begin{document}
\opdiv{6000}{34}
\opdiv[maxdivstep=3]{6000}{34}
\end{document}
Maybe some extension for MathJax (I found longdiv.js and I can't connect it to MathJax config in react "use this package https://www.npmjs.com/package/better-react-mathjax" ) I can only render standart strings ($\frac{}{} \sqrt \cdot and etc..... $) and I don't understand how to use calculations and is it possible?