When there are blank lines in a code block, the blank lines is not rendered in the editor, therefore the background color of the blank lines does not match the background color of the code.
I cannot reproduce the issue with the missing background on the empty lines (although I am using Linux). It shows as a solid background for the whole fenced block.
When you added the Desktop version info to the support request did you delete the list of installed plugins? Do you have any installed?
I believe that the other point you make was that the background colours of the fenced code in the editor and the viewer are not the same. Adding the below to userstyle.css should make the fenced code background in the Markdown viewer look the same as the editor.
pre.hljs {
background: #F3F3F3;
/* changes the background colour of viewer fenced code blocks to match the editor*/
}
Thanks for the heads up, yes it was caused by the plantuml plugin, I uninstalled plantuml and reinstalled plantuml2 and the code blocks are showing up fine, cool!