4bdb7a02b167b825bf8632e7a168f021de7d1a28
[qomet.git] / public / javascripts / utils / libsRefresh.js
1 function statementsLibsRefresh()
2 {
3 // Run Prism + MathJax on questions text
4 $("#statements").find("code[class^=language-]").each( (i,elem) => {
5 Prism.highlightElement(elem);
6 });
7 MathJax.Hub.Queue(["Typeset",MathJax.Hub,"statements"]);
8 }