title: Can I integrate MathJax into a Python program?
body: <p>This might be a silly question, but is it possible to merge MathJax into Python code? Many times I've wished the program output would look more neat, and honestly MathJax looks awesome.</p>
  
  <p>I know MathJax runs on Javascript, yet I have not given up hope. If the answer is no, are there some simple modules to use instead?</p>
  
  <p>For example, if: </p>
  
  <pre><code>1.234 / e^23 [and] (I^-)_(aq) +I _(2(s)) -&gt; (I^-)_3(aq)
  </code></pre>
  
  <p>could be formatted as:</p>
  
  <p><a href="https://i.stack.imgur.com/ZIyc3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZIyc3.png" alt="Formatting example"></a>,</p>
  
  <p>that would be ideal.</p>