[GH-ISSUE #752] [bug] 行内公式以数字开头时渲染失败 #556

Open
opened 2026-03-02 03:40:32 +03:00 by kerem · 1 comment
Owner

Originally created by @star-736 on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/752

详细描述这个 Bug

行内公式 以数字开头的内容,第一次公式能正常渲染,但重新进入md文件,公式会渲染失败,显示为纯文本。非数字开头的行内公式无此问题,重新编辑后会恢复,但再次重新进入仍会失效。

NoteGen 版本

v0.22.3

操作系统

Windows

报错日志

No response

Originally created by @star-736 on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/752 ### 详细描述这个 Bug 行内公式 $$ 以数字开头的内容,第一次公式能正常渲染,但重新进入md文件,公式会渲染失败,显示为纯文本。非数字开头的行内公式无此问题,重新编辑后会恢复,但再次重新进入仍会失效。 ### NoteGen 版本 v0.22.3 ### 操作系统 Windows ### 报错日志 _No response_
Author
Owner

@xungeshrimp commented on GitHub (Nov 5, 2025):

数字前加一个空格就可以渲染了

<!-- gh-comment-id:3489510923 --> @xungeshrimp commented on GitHub (Nov 5, 2025): 数字前加一个空格就可以渲染了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#556
No description provided.