()
| 4082 | if (settings.tex) |
| 4083 | { |
| 4084 | var katexHandle = function() { |
| 4085 | div.find("." + editormd.classNames.tex).each(function(){ |
| 4086 | var tex = $(this); |
| 4087 | katex.render(tex.html().replace(/</g, "<").replace(/>/g, ">"), tex[0]); |
| 4088 | tex.find(".katex").css("font-size", "1.6em"); |
| 4089 | }); |
| 4090 | }; |
| 4091 | |
| 4092 | if (settings.autoLoadKaTeX && !editormd.$katex && !editormd.kaTeXLoaded) |
| 4093 | { |