Examples of MathJax in Node

There are a number of examples of using MathJax from within node documents available within this documentation.


In addition, the MathJax Node Demos repository includes numerous examples of how to use MathJax from a node application. There are examples using modern ESM modules, and others using the oilder CommonJS format. These are each grouped into several categories that illustrate four different ways to access the MathJax code. The main examples use MathJax’s LiteDOM implementation, but there are also some examples using other DOM replacements.