[bug] AI edit预览框有序列表序号渲染丢失

Open
#1,327 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown, nextjs, tauri, typescript
Domain
frontend

Research direction

The bug is in the AI edit preview box, where ordered lists with two-digit numbers lose their first digit, while the main editor renders them correctly. Reproduce it with a list numbered 10 or higher in an AI edit, then compare the preview's markdown rendering path with the editor's. Done when the preview shows the full numbers and the editor output is unchanged.

Written by the indexing model from the issue text.

Description

详细描述这个 Bug
  • AI edit操作时遇到两位数编号的有序列表渲染器会丢失前一位,实际确定后编辑器正常渲染
  • 图示
  • 渲染器渲染
Image - 实际渲染 Image
NoteGen 版本

0.39.2

操作系统

macOS

报错日志

No response

Dominant language
TypeScript
Stars
12.9k
Forks
975
Avg merge
20h 27m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codexu/note-gen

All issues in codexu/note-gen

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.