KaTeX

view/plugin/katex~ KaTeX

KaTeX math renderer plugin JSX component.

Constructor

new KaTeX()

Source:
See:
Example
<KaTeX
    cssUrl="/path/to/katex.css"
    jsUrl="/path/to/katex.js"
    autoRenderUrl="/path/to/auto-render.js"
    mhchemUrl="/path/to/mhchem.js" />

Members

(static) Cacheable

Cacheable KaTeX math renderer plugin JSX component.

This class is supposed to be used in combination with the locals hexo filter (module:hexo/filter/locals).

Source:
See:
Example
<KaTeX.Cacheable
    head={true}
    helper={{ cdn: function() {...} }} />