Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • 5
    Here's a pretty good example of one of your old questions with an image that's within a quote block to increase visibility.
    – Spevacus
    Commented Feb 19, 2020 at 20:49
  • 1
    This use case is known and was tested - you can see it in the images provided.
    – Catija
    Commented Feb 19, 2020 at 21:05
  • 19
    @Catija I know, I saw. Not satisfied. The border is completely missing. Commented Feb 19, 2020 at 21:08
  • 2
    What about adding a border to all images within blockquotes with a blockquote img { border: 8px solid #fbf2d4 } rule? i.sstatic.net/3ze1N.png Commented Feb 20, 2020 at 0:58
  • 9
    For what it's worth, I have never seen anyone use this trick of quoting to add a border to an image before (maybe it's more common on MSE?) and I have to admit that it looks really ugly to me. The border isn't centered, it is yellow (ugh) and just looks off. I do understand that a border can be useful, but I don't think abusing markdown like this is a good way of getting it. Your suggestion of providing a different way seems like the way to go instead.
    – terdon
    Commented Feb 20, 2020 at 9:23
  • 3
    @user1306322 Sometimes we'll use inline images inside quotes that shouldn't have a border, such as mathematical equations or symbols. It would not be appropriate to give all images inside a quote a border. Commented Feb 20, 2020 at 11:23
  • 8
    [feature-request] Give us markdown that specifies an image should be bordered so that we don't have to use quote blocks for this. I still don't want to see the background go away on quote boxes but this is probably a good idea anyway. Spitballing a possibility: single bang for an image (![alt](url)), double bang for a bordered image(!![alt](url)). Commented Feb 20, 2020 at 11:31
  • 3
    Half joking: you could always use <kbd></kbd> tags instead. It doesn't abuse quote markup ;) Commented Feb 20, 2020 at 16:36
  • 2
    +1 It is now impossible to show white text on transparent background tex.stackexchange.com/a/469956 Commented Mar 20, 2020 at 9:11