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

【开源自荐】功能齐全的代码Diff View组件,支持React/Vue平台,参考Github #2786

Open
MrWangJustToDo opened this issue Jul 31, 2024 · 1 comment

Comments

@MrWangJustToDo
Copy link

MrWangJustToDo commented Jul 31, 2024

推荐项目

  • 类别:JS
  • 项目标题:开箱即用Diff View组件,拥有同Github相似的设计
  • 项目描述:一个前端组件,用来0成本实现类Github的代码Diff视图,适用于自建Code Review平台等相关业务需求
  • 亮点:
  1. 支持React / Vue平台直接使用
  2. 分离数据处理 / 视图逻辑,可实现服务端 / webworker 多种性能优化方式
  3. 完整且灵活的代码高亮,内置 highlight.js, 可选 shiki 等支持 hast 语法树的语法高亮引擎
  4. 支持在Diff View中代码行显示评论框等自定义组件
  5. 支持纯代码文本差异显示和git diff 结果显示
  6. 更多Demo 见项目主页
  • 截图:
image image image
  • 后续更新计划:
  1. 支持Vue2以及更多框架平台
  2. 内置基本 亮色/暗色 主题
  3. 样式自定义更加丰富
  4. 增加组件更多自定义
  5. more...
@songyunbiao
Copy link

mark

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

No branches or pull requests

2 participants