0

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.

0

1 Answer 1

3

Either put the image in a blockquote, or use the <kbd> tag to produce a border:

Blockquote

cute Ninja

Markdown source:

> ![cute Ninja][1]

Keyboard tag

cute Ninja

Markdown source:

<kbd>![cute Ninja][1]</kbd>

The latter works better for the mobile view than the former.

7
  • 1
    Use a blockquote. Don't abuse the <kbd> element for this.
    – animuson StaffMod
    Commented Nov 21, 2014 at 16:10
  • 6
    @animuson: abuse shmabuse. Commented Nov 21, 2014 at 16:11
  • I was looking for a more definite solution, not everyone uses that.
    – toplel32
    Commented 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
    – gnat
    Commented Nov 21, 2014 at 16:13
  • @gnat That's not a good reason to use it for an inappropriate purpose.
    – animuson StaffMod
    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.
    – toplel32
    Commented Nov 21, 2014 at 16:18

Not the answer you're looking for? Browse other questions tagged .