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)

发布留言

登录以发布留言。