commit | 6693617d2022af9b7212ff8ba56a3f201b972900 | [log] [tgz] |
---|---|---|
author | Han Seoul-Oh <laughinghan@gmail.com> | Mon Jan 23 16:07:55 2017 -0800 |
committer | Han Seoul-Oh <laughinghan@gmail.com> | Mon Jan 23 16:07:55 2017 -0800 |
tree | 854497f683b89347fde8d6c95bd7fbf3553f9769 | |
parent | bdabebd47c4c130061ccf10fb14f4af73d3e57b1 [diff] |
Remove vestigial comment in advancedSymbols.js TeX backslash control sequences are letters-only, whereas HTML character entity references are alphanumeric; therefore `∴` is a valid character entity reference, but `\there4` cannot be a valid control sequence. Initially I hoped to support every character entity reference as a backslash command, but we can't support this one, so forget it. The out-of-place "case" is because backslash commands used to be a switch/case, not a dictionary: https://github.com/mathquill/mathquill/commit/77bd6c476f081979c6ea754ece77eff783f3c928#diff-239c238d8c090904fa1a9261bf2ef674L961
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)