Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

复制粘贴含mathjax的文本到其他笔记软件,公式和普通文本能同时正常显示 #6517

Open
ProMachine opened this issue May 27, 2024 · 4 comments
Labels

Comments

@ProMachine
Copy link

需要适配的新站

https://ieeexplore.ieee.org/
https://stackexchange.com/
维基百科

有需要请描述这个站的性质

最好做成通用功能,或者可以自定义网站范围的

@Kenshin
Copy link
Owner

Kenshin commented May 27, 2024

嗨,谢谢提交 👍

只是我需要具体适配的页面,找了几个没有发现含有公式的 😂

简悦支持 MathJax 方案,细节看下 #1553 但不是每种页面都支持,有一定的失败率。

同时,这个方案也没办法适配为通用结构,如果可以的话,我早就适配了 🌚

@ProMachine
Copy link
Author

这个需求应该还是比较普遍的,已经有人问过 https://math.meta.stackexchange.com/questions/35201/how-to-copy-page-content-including-all-tex-commands ,里面也有现成的MathJax可以尝试,方法B可以复制完整代码,只要能自动加上$$就好了,再简化一下操作

还可以参考几个脚本:
https://greasyfork.org/zh-CN/scripts/454641-%E4%B8%80%E9%94%AE%E5%A4%8D%E5%88%B6html%E8%A1%A8%E6%A0%BC-%E7%BD%91%E9%A1%B5%E4%BB%A3%E7%A0%81-latex%E5%85%AC%E5%BC%8F

https://greasyfork.org/zh-CN/scripts/404735-latex

@Kenshin
Copy link
Owner

Kenshin commented May 27, 2024

谢谢提示。

MathJax 的版本有很多,不同的版本有存在一定的兼容性问题,所以很难 100% 统一。😂

@Kenshin
Copy link
Owner

Kenshin commented May 27, 2024

同时,你仍没有回复我在 #6517 (comment) 提到的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants