CI: Reorg screenshots.js for clarity

- rename list of browser info objects
- make `pinned` optional boolean key
- log sessionID
- log browser version, not just name and platform
- use info on the actual browser we're using as reported by Sauce, not
  our config info
- check for specifically Firefox and IE for single-screenshot case,
  rather than checking that it's not one of the ones that require
  multiple screenshots (wish this was feature-based, i.e. it would
  actually measure the returned screenshot and see if it's less than the
  viewport height)
- factor out capturing browser logs to a subsequent .then() after the
  if/else and the loop, rather than duplicating it (also, don't write
  logs at all if no logs returned (Edge/IE))
- loop starts out by taking screenshot and then scrolls, rather than
  starting by scrolling to 0
1 file changed
tree: 816b423c30ca002bce2a316ae0ddf4ed1e1fcdd8
  1. .gitattributes
  2. .gitignore
  5. Makefile
  7. circle.yml
  8. docs/
  9. mkdocs.yml
  10. package.json
  11. script/
  12. src/
  13. test/


by Han, Jeanine, and Mary (

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.)

Getting Started

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.

Open-Source License

The Source Code Form of MathQuill is subject to the terms of the Mozilla Public License, v. 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)