To copy KaTeX formula with ease.
javascript:(function(){const d={inline:["$","$"],display:["$$","$$"]};function cT(f){f.querySelectorAll(".katex-mathml + .katex-html").forEach(e=>e.parentNode.removeChild(e));f.querySelectorAll(".katex-mathml").forEach(e=>{let a=e.querySelector("annotation");if(a){let container=e.closest(".katex"),isD=container&&(container.classList.contains("katex-display")||(container.parentElement&&container.parentElement.classList.contains("katex-display")));let o=isD?d.display[0]:d.inline[0],c=isD?d.display[1]:d.inline[1],r=document.createElement("span");r.textContent=o+a.textContent+c;r.className="katex-tex";e.parentNode.replaceChild(r,e)}})};function kT(f){f.querySelectorAll(".katex-mathml + .katex-html").forEach(e=>e.parentNode.removeChild(e));f.querySelectorAll(".katex-mathml").forEach(e=>{let a=e.querySelector("annotation");if(a){let container=e.closest(".katex"),isD=container&&(container.classList.contains("katex-display")||(container.parentElement&&container.