MCPcopy Create free account
hub / github.com/Yorick-Ryu/deep-share / updateAllElements

Function updateAllElements

scripts/copyGeminiMath.js:96–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95// 更新所有已处理元素的样式和行为
96function 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
102async function convertLatexToMathML(latexCode, displayMode = false) {

Callers 2

loadSettingsFunction · 0.70
initGeminiMathCopyFunction · 0.70

Calls 1

querySelectorAllMethod · 0.80

Tested by

no test coverage detected