MathJax DOM
Prerenders all math equations over an entire HTML string using MathJax.
API
/** * Parses an HTML string and prerenders all math equations using MathJax. * * @param * @param * `mjpageConfig` object. * @param * `mjnodeConfig` object. * * @return * fulfillment value. */
Usage
This module crawls the HTML string for delimiters \( ... \)
and $$ ... $$
. You can override this in options.
Example:
const mathjaxDOM = ; ;});
Disclaimer
This is an experimental project driven by internal requirements.