markdown - visual glitches for code block the follows text without empty line #2893
Unanswered
MorgothSauron
asked this question in
General
Replies: 1 comment
-
|
I still notice this overlap with v3.149.5. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
The use of code blocks that are indented or immediately after text without a blank line cause visual glitches, like the lines are overlapping. Same thing can happen with list that contain code block
The glitch does not happen when there is an empty line between the text and the code block.
I tried to clear the cache and restart the application, but without success.
The glitch happens with the default zoom level.
To Reproduce
Create a new note using the Markdown editor
Enter the following text (sorry, I couldn't find how to escape markdown)

textsample.md
Switch to preview mode
Expected behavior
The code block should render properly
Screenshots
How it looks with a code block. The overlapping is clearly visible.

How it looks with a blank line between the text and the code block (no overlapping)

How it looks in a list. The overlapping is clearly visible.

How it looks in a list with a blank line between each list element (no overlapping)

Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions