This page demonstrates the knockout.js binding handlers for MathJax.
Download the script: knockout-mathjax-bindings.js
Enter TeX in this box:
It's displayed here using the maths
binding:
<span data-bind="maths: tex"></span>
And here it is in display mode:
<div data-bind="maths: tex, displayMaths: true"></div>
Enter any HTML, with maths delimited by $ ... $
or \[ ... \]
, in this box.
It's displayed here using the latex
binding.