Yelp supportsin both Mallard and DocBook documents. In both cases, you can use MathML both inline and as a block element. In Mallard, you can use Mallard's internal linking mechanism on MathML elements.
Yelp uses the cdn.mathjax.org. The Yelp viewer bundles a subset of MathJax, allowing it to display MathML in its embedded ?WebKit viewer without using the network.library to support MathML in all modern browsers and browser engines. The default output of the Yelp XSLT uses
To add MathML to a Mallard document, use an mml:math element in any block or inline context. Yelp automatically sets the display attribute of the output mml:math element according to context, even overriding any source value.
You can use the namespaced mal:xref attribute on any MathML element to link to another page in the same document.
Added in 3.8.
To add MathML to a DocBook document, use an mml:math element inside an equation element ( or ), informalequation element ( or ), or inlineequation element ( or ). Or, in DocBook 5 only, use an mml:math element inside an imagedata element with the format attribute set to "mathml".
An mml:math element is considered a block element if it occurs in an equation or informalequation element, or if it occurs in an imageobject element in a mediaobject element. An mml:math element is considered inline if it occurs in an inlineequation element, or if it occurs in an imageobject element in an inlinemediaobject element. Yelp automatically sets the display attribute of the output mml:math element accordingly, even overriding any source value.
Added in 3.8.