We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eff897 commit 85b05d1Copy full SHA for 85b05d1
test/userconfig-jax.js
@@ -0,0 +1,20 @@
1
+var tape = require('tape');
2
+var mjAPI = require('../lib/main.js');
3
+var jsdom = require('jsdom').jsdom;
4
+
5
+tape('User configuration with jax array', function (t) {
6
+ t.plan(1);
7
8
+ mjAPI.config({
9
+ MathJax: {
10
+ jax: ["input/MathML", "output/SVG"]
11
+ }
12
+ });
13
+ mjAPI.typeset({
14
+ math: '<math><mn>1</mn></math>',
15
+ format: 'MathML',
16
+ svg: true
17
+ }, function (data) {
18
+ t.ok(!data.errors, 'No errors');
19
20
+});
0 commit comments