title: Is there a javascript LaTeX equation renderer?
body: <p>I am looking for a purely client side javascript library that renders latex equations as HTML/CSS. I hate that all I see are utilities that request an image from a server.</p>
  
  <p>Example usage:</p>
  
  <pre><code>latex('\frac{a}{b}')
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>&lt;div style="position: relative; display: inline-block; height: 2em; width: 1em"&gt;
    &lt;div style="position: absolute; top: 0em"&gt;a&lt;/div&gt;
    &lt;div style="position: absolute; top: 1em; border-top: 1px solid black"&gt;b&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I ask because if this does not exist I am considering writing it, perhaps as a jQuery plugin.</p>