Codeblocks syntax highlighting and background #5550
Labels
feature: editor
Everything related to the editor page or the CodeMirror editor itself
scope: frontend
Only relevant for the frontend
type: bug
Something isn't working
Milestone
Description
Codeblocks (with fences) do not have a background-color. Thus it's harder to distinguish them from other text content.
Another effect hardening that problem is the fact that for certain languages the syntax-highlighting keywords do not match the autocomplete suggestion.
Steps to reproduce
Create a new note with the following content (ignore the backslashes) and view it both in light and dark mode in HD2. Compare it also with the results in HD1:
Expected behaviour
Autocomplete suggestions should (only) include the languages that are supported by our rendering syntax highlighting.
Codeblocks should have a decent background color to distinguish them from the other content.
Logs
No response
Config
No response
Your Setup
Additional context
vs
The text was updated successfully, but these errors were encountered: