commit | ae93a9ba2c8870449d8a54095ef97a1cb6baa111 | [log] [tgz] |
---|---|---|
author | Andreya Piplica <apiplica@carnegielearning.com> | Wed Jan 07 19:04:53 2015 -0500 |
committer | Karl Schaefer <karlgschaefer@gmail.com> | Mon Aug 15 16:56:46 2016 -0400 |
tree | 9e72003e5284f4fdbaf1f5cdcdd3a27bb1dd1813 | |
parent | 5b0c3168308293cf2857092294e9c9e8b2a1258c [diff] |
Configure inner math field with options When finalizeTree() is called for inner math fields, it takes an options object as a parameter. This object was not actually used to configure the inner math field. This change ensures inner math fields are configured correctly with the passed options.
by Han, Jeanine, and Mary (maintainers@mathquill.com)
MathQuill is a web formula editor designed to make typing math easy and beautiful.
The MathQuill project is supported by its partners. We hold ourselves to a compassionate Code of Conduct.
MathQuill is resuming active development and we‘re committed to getting things running smoothly. Find a dusty corner? Let us know in Slack. (Prefer IRC? We’re #mathquill
on Freenode.)
MathQuill has a simple interface. This brief example creates a MathQuill element and renders, then reads a given input:
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 for setup instructions and basic MathQuill usage.
Most documentation for MathQuill is located on ReadTheDocs.
Some older documentation still exists on the Wiki.
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)