Files
blog/node_modules/mathjax-full/components/src/a11y/semantic-enrich/semantic-enrich.js
2025-07-16 16:30:56 +00:00

15 lines
511 B
JavaScript

import './lib/semantic-enrich.js';
import {combineDefaults} from '../../../../js/components/global.js';
import Sre from '../../../../js/a11y/sre.js';
import {EnrichHandler} from '../../../../js/a11y/semantic-enrich.js';
import {MathML} from '../../../../js/input/mathml.js';
if (MathJax.loader) {
combineDefaults(MathJax.config.loader, 'a11y/semantic-enrich', {checkReady: () => Sre.sreReady()});
}
if (MathJax.startup) {
MathJax.startup.extendHandler(handler => EnrichHandler(handler, new MathML()));
}