title: How do I change LaTeX to MathML using MathJax in Node.js?
body: <p>I'm trying to render math equations from user input server side using MathJax in Node.js. I'm using a separate library (mathjs) to turn the input into LaTeX, but after spending an hour looking at the MathJax docs I'm no closer to turning the LaTeX into MathML.</p>
  
  <p>I'm assuming I'd be using the <code>mathjax</code> package on NPM, and then use the <code>MathJax.InputJax</code> and <code>MathJax.OutputJax</code> classes to do the processing, but I've got no idea how to put everything together.</p>
  
  <p>(In case anyone is wondering, I'm using a CSS file to polyfill MathML, rather than load MathJax in the browser and cause a delay while the processing happens.)</p>