Double click on a LaTeX formula on a webpage to copy it to the clipboard
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
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)
What about gemini? I cannot find math tag in html.