blob: 2b51817a5dee57743852da7691fddda2c6244fd8 [file] [view]
# [MathQuill](http://mathquill.github.com)
by [Han](http://github.com/laughinghan), [Jeanine](http://github.com/jneen), and [Mary](http://github.com/stufflebear) (maintainers@mathquill.com)
Good news! We've resumed active development and we're committed to getting
things running smoothly.
Find a dusty corner? [Let us know.](https://github.com/mathquill/mathquill/issues)
MathQuill is a web formula editor designed to make typing math easy and beautiful. To view a demo, please view our [website](http://mathquill.com/). The MathQuill project is currently supported by its [partners](http://mathquill.com/partners.html). We are bound by a [Code of Conduct](http://mathquill.readthedocs.org/en/latest/Code_of_Conduct/).
We'd love to hear from you-we love offering help and receiving feedback.
<big>[<img alt="slackin.mathquill.com" src="http://slackin.mathquill.com/badge.svg" align="top">](http://slackin.mathquill.com)
[<img alt="freenode irc: #mathquill" src="https://img.shields.io/badge/%20freenode%20irc%20-%20%23mathquill%20-brightgreen.svg" align="top">](http://webchat.freenode.net/?channels=mathquill)</big>
## Getting Started
Check out our [Getting Started Guide](http://mathquill.readthedocs.org/en/latest/Getting_Started/) for instructions on how to get setup up with MathQuill and start using it.
MathQuill has a simple interface:
```javascript
var domObject = document.getElementById('#some_id');
var config = {
handlers: {edit: myEditHandler},
restrictMismatchedBrackets: true
}
var mathField = MQ.MathField(domObject, config);
mathField.latex('2^{\frac{3}{2}}') // Renders the given LaTeX in the MathQuill field
console.log(mathField.latex()) // Shows '2^{\frac{3}{2}}'
```
## Open-Source License
The Source Code Form of MathQuill is subject to the terms of the Mozilla Public
License, v. 2.0: http://mozilla.org/MPL/2.0/
The quick-and-dirty is you can do whatever if modifications to MathQuill are in
public GitHub forks. (Other ways to publicize modifications are also fine, as
are private use modifications. See also: [MPL 2.0 FAQ](https://www.mozilla.org/en-US/MPL/2.0/FAQ/))