Attempt to resurrect qomet code - need some rewrite
[qomet.git] / public / javascripts / utils / libsRefresh.js
CommitLineData
435371c7
BA
1function 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}