You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mathjax-node returns two objects to the `callback`: a `result` object as well as the original input `options`.
139
+
mathjax-node returns two objects to `Promise.resolve` or `callback`: a `result` object and the original input `options`.
138
140
139
141
The `result` object will contain (at most) the following structure:
140
142
@@ -165,4 +167,6 @@ The `result` object will contain (at most) the following structure:
165
167
}
166
168
```
167
169
168
-
The `options` contains the configuration object passed to `typeset`; this can be useful for passing other data along or for identifying which `typeset()` call is associated with this `callback` call (in case you use the same `callback` function for more than one `typeset()`).
170
+
If the `errors` array is non-empty, the Promise will reject, and be passed the `errors` array.
171
+
172
+
The `options` contains the configuration object passed to `typeset`; this can be useful for passing other data along or for identifying which `typeset()` call is associated with this (`callback`) call (in case you use the same `callback` function for more than one `typeset()`).
0 commit comments