I regularly find questions on SO with bright images inlined which appear as if they are part of the layout. Actually I just came accross this. It bugs me a little and I think a highlighting border would be an improvement because it clearly distinguishes the layout.
1 Answer
Either put the image in a blockquote, or use the <kbd>
tag to produce a border:
Blockquote
Markdown source:
> ![cute Ninja][1]
Keyboard tag
Markdown source:
<kbd>![cute Ninja][1]</kbd>
The latter works better for the mobile view than the former.
-
1Use a blockquote. Don't abuse the
<kbd>
element for this. Commented Nov 21, 2014 at 16:10 -
6
-
I was looking for a more definite solution, not everyone uses that.– toplel32Commented Nov 21, 2014 at 16:11
-
1@toplel32: not everyone uses code blocks or emphasis either. This works and a lot of people do use it. Commented Nov 21, 2014 at 16:12
-
@animuson as opposed to quotes, kbd is known to work on mobile– gnatCommented Nov 21, 2014 at 16:13
-
@gnat That's not a good reason to use it for an inappropriate purpose. Commented Nov 21, 2014 at 16:14
-
@MartijnPieters - Atleast users are expected to use code blocks, else an edit will follow, that doesn't seem the case here.– toplel32Commented Nov 21, 2014 at 16:18