javascript – mathjax “exclude” from initial render

With Mathjax 3.2.1 we got the “lazyAlwaysTypeset” option to specify containers that should still be rendered upon page load even if lazy rendering is enabled.

We would actually like to do the opposite: We have quite some “details” elements on the page that will probably never be opened by the user containing math.

Is there a way to specify a “render everything EXCEPT this” upon page load?

The “not” specifier for a css selector for “lazyAlwaysTypeset” is useless in this case because we will most definetly select a container of the details element we do not want to render, thus still triggering a render upon these elements.

Read more here: Source link