()
| 4012 | if (settings.tex) |
| 4013 | { |
| 4014 | var katexHandle = function() { |
| 4015 | div.find("." + editormd.classNames.tex).each(function(){ |
| 4016 | var tex = $(this); |
| 4017 | katex.render(tex.html().replace(/</g, "<").replace(/>/g, ">"), tex[0]); |
| 4018 | tex.find(".katex").css("font-size", "1.6em"); |
| 4019 | }); |
| 4020 | }; |
| 4021 | |
| 4022 | if (settings.autoLoadKaTeX && !editormd.$katex && !editormd.kaTeXLoaded) |
| 4023 | { |
no test coverage detected
searching dependent graphs…