AppFlowy-IO / AppFlowy-IO/appflowy-editor

[FR] Diff variant for code block

未关闭
#1,097 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
684
派生
329
PR 合并指标
30 天内没有已合并 PR

描述

### Description

Hi, I''ve recently started to use AppFlowy, I use it as some sort of notes for learning, usually technical stuff.
That brings me to the question, how to create a diff text/codeblock.
With formatting, like in git, where lines with "+" sign at the beginning of the line have green color. and with "-" - red.

Example.
![Image](https://github.com/user-attachments/assets/ae6be5bc-9270-458f-9fab-43e9c769155f)

Is there any way to do that? Will it be implemented as separate codeblock language mode?

### Impact

People who do coding notes like programmers, admins, devops, etc.

### Additional Context

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。