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

增加 一键转换 LaTeX 公式 功能 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hidva
Copy link

@hidva hidva commented May 8, 2024

该功能会自动识别文章中符合 MathJax 格式的 latex 公式, 并将其转换为 svg.

image
image

转换生成的公式仍可再次编辑:
image

例子: 陶哲轩实分析: 黎曼积分 则是完全由 陶哲轩实分析: 黎曼积分.markdown 转换而来, 其内包含约 200+ 公式.

@ttali1
Copy link

ttali1 commented Jun 8, 2024

亲爱的作者你好!一键转换功能在“保存为草稿”之前一切运行正常,但是保存为草稿之后,公式会上下颠倒,请问这是什么问题呀?

@hidva
Copy link
Author

hidva commented Jun 26, 2024

噗, 我一度以为这不可能, 直至我也遇到了... 大概看了下, 好像是公众号会改变某些公式标签, 这时点击公式会正常弹出公式编辑框确认下就行了. 或者保存草稿时不要转换为公式, 而是在发表前再转换为公式.

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

Successfully merging this pull request may close these issues.

2 participants