friendica-addons/mathjax/mathjax.js

5 lines
172 B
JavaScript

Addon_registerHook("postprocess_liveupdate", "mathjax_postprocess_liveupdate");
function mathjax_postprocess_liveupdate()
{
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}