[GH-ISSUE #8182] [FR] Setting a code block to perform no syntax highlighting #3627

Closed
opened 2026-03-23 21:31:55 +00:00 by mirror · 0 comments
Owner

Originally created by @matous-volf on GitHub (Aug 22, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8182

Description

I'd like to have the option to disable syntax highlighting completely for the code block component.

Impact

Sometimes, a code block doesn't actually contain code, but e.g. program output. In that case, highlighting is not desirable and selecting a language doesn't make sense. The closest option currently is "auto", but that still chooses a language and performs highlighting.

Additional Context

For instance, Notion has a "plain text" option in the list of languages.

Originally created by @matous-volf on GitHub (Aug 22, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8182 ### Description I'd like to have the option to disable syntax highlighting completely for the code block component. ### Impact Sometimes, a code block doesn't actually contain code, but e.g. program output. In that case, highlighting is not desirable and selecting a language doesn't make sense. The closest option currently is "auto", but that still chooses a language and performs highlighting. ### Additional Context For instance, Notion has a "plain text" option in the list of languages.
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#3627
No description provided.