Skip to main content

mathjax_script

Function mathjax_script 

Source
pub fn mathjax_script() -> ScriptDef
Expand description

Returns the script definition of the formula renderer, flm.html.mathjax: its configuration and then the address its program is loaded from, in that order, because the program reads the configuration when it runs.

The emitter requires this definition at the first passthrough formula it writes in a tree, so a document with no passthrough mathematics loads nothing.

What the configuration says, and what a host that renders mathematics written by authors it does not trust has to write instead, is the module documentation.