Skip to content

Commit ccaa214

Browse files
committed
Fix an attribute call, remove use of mjxRoot, and update a section title
1 parent dcfa995 commit ccaa214

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

advanced/synchronize/filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ use of the :attr:`mathvariant` attribute on the internal MathML token
271271
elements to their Unicode equivalents in the Mathematical
272272
Alphanumerics block. Because MathML-Core (the version of MathML
273273
implemented in most browsers) does not include support for
274-
:attr:`mathvariant` (except as :attr:`mathvariant="normal" on
274+
:attr:`mathvariant` (except as :attr:`mathvariant="normal"` on
275275
single-character ``mi`` elements to prevent the automatic
276276
italicization of the character), this may be useful for cases where
277277
you want to produce MathML expressions for use with a browser's native

server/components.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,9 @@ different locale or Braille version, as illustrated below.
221221

222222
.. code-block:: javascript
223223
224-
import {mjxRoot} from '@mathjax/src/js/components/mjs/root.js';
225-
226224
global.MathJax = {
227225
loader: {
228-
paths: {mathjax: mjxRoot()},
226+
paths: {mathjax: '@mathjax/src/bundle'},
229227
load: ['adaptors/liteDOM'],
230228
require: (file) => import(file)
231229
},

server/preload.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,8 @@ the loading is complete.
449449

450450
.. _preload-import-cjs:
451451

452-
Loading All Font Data using Import
453-
==================================
452+
Loading All Font Data Synchronously
453+
===================================
454454

455455
In the previous example, we took advantage of ``require()`` to make
456456
the :js:meth:`loadDynamicFilesSync()` method available to load all the

0 commit comments

Comments
 (0)