Is it possible to specify a transparent background colour for the mdframed environment, so that anything which might be underneath will be visible?
You must set the opacity to the whole environment.
As mentioned in the comments, you can set
Following @PhilippeGoutet's comment, you can use
|show 2 more comments|