Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathquill/mathquill
Easily type math in your webapp
https://github.com/mathquill/mathquill
editor equation expression formula javascript math
Last synced: 3 days ago
JSON representation
Easily type math in your webapp
- Host: GitHub
- URL: https://github.com/mathquill/mathquill
- Owner: mathquill
- License: mpl-2.0
- Created: 2010-04-07T04:48:45.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T17:56:46.000Z (11 months ago)
- Last Synced: 2024-12-03T10:03:37.192Z (10 days ago)
- Topics: editor, equation, expression, formula, javascript, math
- Language: TypeScript
- Homepage: http://mathquill.com
- Size: 17 MB
- Stars: 2,676
- Watchers: 91
- Forks: 713
- Open Issues: 399
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/Contributing.md
- License: LICENSE
- Code of conduct: docs/Code_of_Conduct.md
Awesome Lists containing this project
README
# [MathQuill](http://mathquill.com)
by [Han](http://github.com/laughinghan), [Jeanine](http://github.com/jneen), and [Mary](http://github.com/stufflebear) ()
MathQuill is a web formula editor designed to make typing math easy and beautiful.
[](http://mathquill.com)
The MathQuill project is supported by its [partners](http://mathquill.com/partners.html). We hold ourselves to a compassionate [Code of Conduct](http://docs.mathquill.com/en/latest/Code_of_Conduct/).
MathQuill is resuming active development and we're committed to getting things running smoothly. Find a dusty corner? Go ahead and create a pull request!
## Getting Started
MathQuill has a simple interface. This brief example creates a MathQuill element and renders, then reads a given input:
```javascript
var htmlElement = document.getElementById('some_id');
var config = {
handlers: { edit: function(){ ... } },
restrictMismatchedBrackets: true
};
var mathField = MQ.MathField(htmlElement, config);mathField.latex('2^{\\frac{3}{2}}'); // Renders the given LaTeX in the MathQuill field
mathField.latex(); // => '2^{\\frac{3}{2}}'
```Check out our [Getting Started Guide](http://docs.mathquill.com/en/latest/Getting_Started/) for setup instructions and basic MathQuill usage.
## Docs
Most documentation for MathQuill is located on [ReadTheDocs](http://docs.mathquill.com/en/latest/).
Some older documentation still exists on the [Wiki](https://github.com/mathquill/mathquill/wiki).
## 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/](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/))