madox2 madox2 - 1 year ago 708
Markdown Question

Is it possible to add border to image in GitHub markdown?

I need to add border to the image in GitHub file. This is how image should be embeded:

![GitHub Logo](/images/logo.png)

I have tried to wrap image with the table:

|![GitHub Logo](/images/logo.png)|

but it is not possible to create table without header.

I have also tried to include image as html tag:

<img src="/images/logo.png" style="border: 1px solid black" />

but without success. Is there any way how to do this?

Answer Source

It's hacky and not always pretty, but surround the image with a <kbd> tag. Here's an example with an image of a white square:


<img src="">


  <img src="">

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download