+1 for this feature. The snippet works for readability, but the code is not centered and bleeds out of the background box.
I’m sure there’s more CSS trickery I could do (I tried setting overflow-x: auto;
but it sticks a scrollbar in the middle of the codeblock lol) but I agree that this feels like it should be supported natively.
Here’s the weirdness that results with the overflow-x
adjustment I mentioned: