[GH-ISSUE #5150] [FR] CodeBlock Indentation and Font Optimization. #2279

Closed
opened 2026-03-23 21:21:08 +00:00 by mirror · 1 comment
Owner

Originally created by @jiceylc on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5150

Originally assigned to: @Xazin on GitHub.

Description

The code indentation spacing in CodeBlock seems a bit small. Although it's also 4 spaces, it looks much better in Typora. When dealing with a large amount of code, it can be quite uncomfortable to read. Additionally, it would be nice if the font and size of CodeBlock could be customized, as the reading and typesetting experience for code is different from text.

this is appflowy
image

and this is in typora

image

Impact

people who always use codeblock

Additional Context

No response

Originally created by @jiceylc on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5150 Originally assigned to: @Xazin on GitHub. ### Description The code indentation spacing in CodeBlock seems a bit small. Although it's also 4 spaces, it looks much better in Typora. When dealing with a large amount of code, it can be quite uncomfortable to read. Additionally, it would be nice if the font and size of CodeBlock could be customized, as the reading and typesetting experience for code is different from text. this is appflowy ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/38155271/3ba698df-082d-4625-8dfa-a9cd25de8048) and this is in typora ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/38155271/6d34ff97-c95b-4790-9661-2e049175ad98) ### Impact people who always use codeblock ### Additional Context _No response_
mirror 2026-03-23 21:21:08 +00:00
Author
Owner

@annieappflowy commented on GitHub (Jun 21, 2024):

image

Consider this was fixed

<!-- gh-comment-id:2182803782 --> @annieappflowy commented on GitHub (Jun 21, 2024): <img width="408" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/12026239/8433990e-27de-49ed-9e82-5fdf86fc1a3a"> Consider this was fixed
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
AppFlowy-IO/AppFlowy#2279
No description provided.