MCPcopy
hub / github.com/pandao/editor.md / katexHandle

Function katexHandle

editormd.js:4014–4020  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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(/&lt;/g, "<").replace(/&gt;/g, ">"), tex[0]);
4018 tex.find(".katex").css("font-size", "1.6em");
4019 });
4020 };
4021
4022 if (settings.autoLoadKaTeX && !editormd.$katex && !editormd.kaTeXLoaded)
4023 {

Callers 1

editormd.jsFile · 0.70

Calls 1

$Function · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…