Closed
Description
3.1.27 无法渲染公式
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
那一天你和我说了3.1.27 没问题.我今天升级了还是不行了.而且如果我已经有的文档还是无法渲染白屏.如果是新的粘贴就是failed
后面为了证明不是那天你说我装的插件问题,我又卸载重新装了一版,我是纯净的,没有选择老的工作目录,是新的创建的.还是这样无法渲染
我赶紧卸载了3.1.27 装上3.1.25 他又恢复了正常.目前在我这里带公式的可以正常渲染是3.1.25,
Expected result
Screenshot or screen recording presentation
No response
Version environment
- Version: 3.1.27
- Operating System: win11
- Browser (if used):
Log file
More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
TCOTC commentedon Apr 10, 2025
请试一下在文档树上导入 md 文档
noenif commentedon Apr 10, 2025
导入正常,复制不正常.
noenif commentedon Apr 10, 2025
啥时候修复复制呢?
TCOTC commentedon Apr 10, 2025
我这边复制粘贴也是正常的。你的电脑里有安装什么软件跟剪贴板有关吗?
或者换不同的编辑器打开 md 文件试试复制粘贴到思源
noenif commentedon Apr 10, 2025
md 帮你处理了格式,如果我用typroa打开后的复制一下,我再粘贴到siyuan是可以的..我传给你一份txt的.
不过,.3.1.25是可以的.应该是某个特殊字符的问题.
新建 文本文档.txt
TCOTC commentedon Apr 10, 2025
你新上传的这个可以重现公式块异常的问题,区别是在两个
$$
之间前后分别多了一个空格:我试了一下多出空格之后在 VSCode 和 Obsidian 里都能解析为公式块,但在思源里会出问题:
需要 @88250 看看
noenif commentedon Apr 10, 2025
3.1.25也可以的.
noenif commentedon Apr 10, 2025
#11412
[-]3.1.27 无法渲染公式[/-][+]Improve math block parsing[/+]88250 commentedon Apr 10, 2025
下个版本改进公式解析。
#11412 不考虑哦,谢谢。
🎨 Improve math block parsing siyuan-note/siyuan#14561
🎨 Improve math block parsing siyuan-note/siyuan#14561
🎨 Improve math block parsing #14561
xy3xy3 commentedon Apr 21, 2025
现在大模型输出基本上是用[ ]\和( )包围的,手动转有些麻烦(),katex好像本身也支持设置这两种标签的解析
TCOTC commentedon Apr 21, 2025
让AI自己转换输出吧