Sync with Khan-exercises

Summary:
Add some things in to make this more useful to khan-exercises.
Notably, make KaTeX.process create and clean up its own .katex node, and rename
.mathmathmath -> .katex.

Test Plan: Make test, make sure the main page still renders stuff

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D3061
This commit is contained in:
Emily Eisenberg
2013-07-17 15:43:55 -07:00
parent b101582aac
commit 383ca01434
6 changed files with 102 additions and 90 deletions

View File

@@ -9,6 +9,6 @@
</head>
<body>
<input type="text" value="\blue\dfrac{2(y-z)}{3} \div \orange{\arctan x^{4/3}}" id="input" />
<div id="math" class="mathmathmath"></div>
<div id="math"></div>
</body>
</html>