Created
March 17, 2015 10:36
-
-
Save natejenkins/b1176b89ac19eb38ad14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script> | |
<script type="text/javascript" | |
src="https://cdn.mathjax.org/mathjax/2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | |
</script> | |
</head> | |
<body> | |
<div id="test"> | |
\(x=5\) | |
</div> | |
</body> | |
</html> | |
<script> | |
function test(){ | |
var html = $("#test").html(); | |
$("#test").html(html); | |
MathJax.Hub.Queue(["PreProcess",MathJax.Hub],["Reprocess",MathJax.Hub]); | |
} | |
$(document).ready(function() { | |
setInterval(test, 2000); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment