What I see as an issue:
A lot of times when I read and write code in StackOverflow I run into the following scenario:
Here is some
Code and words. This is more random wody stuff,
some code suddenly a widd more some more
Other Code which makes the above code seems
Related although it is not.
Other Code seem visually related although they are not?
I actively try to avoid this when writing questions and answers, and it's no fun to read either. Since the two lines of text are in the same paragraph, adding another line between them or more spacing seems like a poor solution to me.
Possible approaches I came up with:
- Remove the
background-colorattribute from code that is in paragraphs. Which would produce:
- Add a white border (maybe thinner?) which would produce:
- Reduce the padding of code blocks inside tags which would look like