forked from mathquill/mathquill.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (38 loc) · 2.2 KB
/
index.html
File metadata and controls
56 lines (38 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=624">
<title>MathQuill - WYSIWYG math using only HTML and CSS</title>
<link rel="stylesheet" type="text/css" href="home.css">
<link rel="stylesheet" type="text/css" href="mathquill.css">
<style type="text/css">
p small {
font: 90% Verdana, sans-serif;
}
</style>
</head>
<body>
<div id="body">
<a href="http://github.com/laughinghan/mathquill"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/4c7dc970b89fd04b81c8e221ba88ff99a06c6b61/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub!"></a>
<h1>MathQuill <small>by <a href="http://github.com/laughinghan">Han</a> and <a href="http://github.com/jayferd">Jay</a></small></h1>
<p><i>WYSIWYG math with only HTML, CSS and JS</i>
<p>Try typing <code>x^2</code>: <span class="mathquill-editable"></span>
<br>Backspace and try <code>3/4</code>, try <code>\sqrt x</code>, try <code>\sin\theta </code>.
<br>Move around with the arrow keys, click, drag, cut and paste like any other textbox.
<p>See our <a href="demo.html">thorough demo</a> for more features, textbox variants and the public API.
<p>MathQuill renders LaTeX math as semantically rich HTML and presents it as human-readable math by styling with CSS. Showcasing the power of the HTML DOM, this math is WYSIWYG editable.
<p>See also: our <a href="http://lolgebra.com">sister project <small>Lolgebra</small></a>, online chatrooms where you can “<small>lol</small>” in math!</p>
<h3>Usage</h3>
<p>Want to use it on your website? See <a href="http://github.com/laughinghan/mathquill#readme">the project README on GitHub</a>.
<h3>Project Contact</h3>
<p>Han (<a href="mailto:laughinghan@gmail.com">laughinghan@gmail.com</a>)</p>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="mathquill.min.js"></script>
<script type="text/javascript">
$(function() {
$('.mathquill-editable').focus();
});
</script>
</body>
</html>