TexCopyer

双击网页中的LaTex公式,将其复制到剪切板

< 腳本TexCopyer的回應

評論:正評 - 腳本一切正常

§
發表於:2025-08-08

What about gemini? I cannot find math tag in html.

3plus10i作者
§
發表於:2025-12-02

Hi, I found a label in Gemini chat page:

<div data-path-to-node="1">
    <div class="math-block" data-math="e^{i\pi} + 1 = 0">
        <span class="katex-display">
            <span class="katex">
                <span class="katex-html" aria-hidden="true">
                    <span class="base">
......

It seems that the expression could be found in .math-block[data-math].
Sorry I didn't add Gemini support but I really dont have time to maintain this project...
But if you dev & test Gemini adapter and provide a pr, i will be happy to merge your contribution.
Thanks for supporting anyway!
github: https://github.com/3plus10i/TexCopyer

§
發表於:2025-12-03

Ok, I rewrote your script into new script at:
Double-click Math Formula to Copy to Word

It includes Gemini (only Latex, no MathML, I cannot find any way to convert to MathML)

發表回覆

登入以回覆