()
| 94 | |
| 95 | // 更新所有已处理元素的样式和行为 |
| 96 | function updateAllElements() { |
| 97 | const mathElements = document.querySelectorAll('[data-gemini-math-copy-enabled="true"]'); |
| 98 | mathElements.forEach(updateElementStyle); |
| 99 | } |
| 100 | |
| 101 | // Function to convert LaTeX to MathML via in-page converter |
| 102 | async function convertLatexToMathML(latexCode, displayMode = false) { |
no test coverage detected