[feat] 对于代码块等容易长文本的部分,希望能够添加收缩功能便于整体文本的观察,且可以单独的注释标题

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
markdown, typescript
Domain
frontend

Research direction

Start by locating the editor entry points that render code blocks and tables, then review how the existing UI handles long content; the issue does not name specific files or tests. Done means code blocks and tables can be collapsed for easier reading and can have a separate annotation or title, with the behavior guided by the attached image.

Written by the indexing model from the issue text.

Description

描述你的建议

添加单独的注释,可以让文本在引用代码与表格时候可以标注是什么内容的引用

Image 另外就是希望可以在代码与表格引入时候,为了浏览考虑,加个收缩的功能,这样可以防止长代码块等影响文本阅读
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.